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
I agree with @alexey-m-ukolov.
Even though the DatePicker component itself is not a form element, the required attribute is typically used in the context of form validation and its expected type in HTML is boolean.
alexey-m-ukolov
changed the title
Option "required" should be typed as boolean, not a string
Option "required" should be typed as a boolean, not as a string
Jun 14, 2024
Describe the bug
Commit #6fe84be introduced
DatePickerProps
type in which therequired
property is typed as a string.Expected behavior
This option should be typed as a boolean as it stated in the docs.
The text was updated successfully, but these errors were encountered: