
The
PlainDateInput
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()
.<DateTimeInput />
.
Example
event-form.tsx
Props
The label of the plain date input field.
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"
Whether or not the field should be disabled.Defaults to
false
(not disabled).