Skip to main content
This component is returned by useForm().
If you wish to also get a time with your date, use <DateTimeInput />.

Example

event-form.tsx

Props

string
required
The label of the plain date input field.
string
required
The path to the plainDate value of the input field in your form schema.The value will be in ISO 8601 format (YYYY-MM-DD).e.g. "event_date", "user.birth_date"
boolean
Whether or not the field should be disabled.Defaults to false (not disabled).