
The
DateTimeInput
API is experimental and may change in the future. It has been marked as @deprecated
to remind the developer that it is experimental. It is not "deprecated", just experimental. Please don't use it in production versions of your app. We do not guarantee backward compatibility, or that the API will remain stable.This component is returned by
useForm()
.<PlainDateInput />
.
Example
meeting-form.tsx
Props
The label of the date and time input field.
The path to the
dateTime
value of the input field in your form schema.e.g. "meeting_time"
, "user.last_login"
Whether or not the field should be disabled.Defaults to
false
(not disabled).