@volverjs/ui-vue 0.0.10-beta.31 → 0.0.10-beta.32

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.
@@ -431,9 +431,13 @@
431
431
  type === INPUT_TYPES.DATETIME_LOCAL ||
432
432
  type === INPUT_TYPES.NUMBER
433
433
  ) {
434
+ let max = props.max
435
+ if(type === INPUT_TYPES.DATE && !max) {
436
+ max = '9999-12-31'
437
+ }
434
438
  toReturn.step = props.step
435
439
  toReturn.max =
436
- props.max !== undefined ? String(props.max) : undefined
440
+ max !== undefined ? String(max) : undefined
437
441
  toReturn.min =
438
442
  props.min !== undefined ? String(props.min) : undefined
439
443
  }