The InputDate component provides a styled date picker with pop-up calendar.
Prop | Type | Description |
---|---|---|
className | string | Additional CSS classes. |
name | string | Identifier for the date in form submission. |
label | string | Label text for the date input. |
register | function | Function to register the input with the useForm hook. |
required | boolean | Specifies if the field is required. |
today | boolean | Defaults the selected date to today. |