Open KuroNoDev opened 4 years ago
What did you expect? It's a form component, you need to handle validation.
It's part of the component and not a custom input so I expected the input will also apply the same validations/options that I passed via props.
+1, there should be error state for date-picker, maybe with red border-bottom to represent an error, it can also provide error as the second param on date change describing the type of error.
We did something similar with our components, https://innovaccer.github.io/design-system/?path=/story/organisms-datepicker-variants--with-input
A blocked day can't be selected by clicking on the day, but still can be selected by manually typing in the input box