You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We have up until now controlled validation of the selected date ourselves and set the date picker variant to error when the date is incorrect and the user can't continue unless another date is selected. We see warning as something the user must consider before the proceed with a value the system considers suspect.
Now, we want the calendar to no longer allow the user to select an incorrect value outside the allowed range and found the min/max limits on the DatePicker. Unfortunately, this overrides our "error" variant and always chooses "warning".
Describe the solution you'd like
Maybe a property called "validationErrorVariant"?
Describe alternatives you've considered
No solution is possible because this is entirely controlled by the date picker.
Additional context
The helper text is also overridden which could cause problems for other use cases than ours.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We have up until now controlled validation of the selected date ourselves and set the date picker variant to error when the date is incorrect and the user can't continue unless another date is selected. We see warning as something the user must consider before the proceed with a value the system considers suspect.
Now, we want the calendar to no longer allow the user to select an incorrect value outside the allowed range and found the min/max limits on the DatePicker. Unfortunately, this overrides our "error" variant and always chooses "warning".
Describe the solution you'd like
Maybe a property called "validationErrorVariant"?
Describe alternatives you've considered
No solution is possible because this is entirely controlled by the date picker.
Additional context
The helper text is also overridden which could cause problems for other use cases than ours.
The text was updated successfully, but these errors were encountered: