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

Example

meeting-form.tsx

Props

label
string
required
The label of the date and time input field.
name
string
required
The path to the dateTime value of the input field in your form schema.e.g. "meeting_time", "user.last_login"
disabled
boolean
Whether or not the field should be disabled.Defaults to false (not disabled).