isobit-ui 0.2.102 → 0.2.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +5 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.101
2
+ * isobit-ui v0.2.103
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -736,7 +736,10 @@ var script$m = {
736
736
  var t = me.toDate(v);
737
737
 
738
738
  if (me.max) {
739
- if (t && t >= me.toDate(me.max)) me.$emit('invalid', t);
739
+ if (t && t.getTime() >= me.toDate(me.max).getTime()) {
740
+ me.$emit('invalid', t);
741
+ t = null;
742
+ }
740
743
  }
741
744
 
742
745
  if (me.$props.type === 'time') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.102",
3
+ "version": "0.2.104",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [