Support min and max values for validation
jason-capsule42 opened this issue · comments
Jason Baker commented
Is your feature request related to a problem? Please describe.
Need to support min and max value for date validation
Describe the solution you'd like
- Add new
max
attribute - Add new
min
attribute - Add new
setCustomValiityRangeOverflow
attribute for error message when max validation error occurs - Add new
setCustomValiityRangeUnderflow
attribute for error message when max validation error occurs - Validation for numeric type inputs works with min and max
- Validation for all date type inputs works with min and max
- Working example(s) for date type
- Working example(s) for numeric type
- Test(s) for date type
- Test(s) for numeric type
Additional context
This change will greatly simplify auro-datepicker
validation and enable correct validation with soon to be released range
attribute in datepicker.