DateField API
import { DateField } from '@editora/ui-react';
Props
| Prop | Type | Description |
|---|---|---|
description | string | |
disabled | boolean | |
error | string | |
label | string | |
locale | string | |
max | string | |
min | string | |
name | string | |
onChange | (detail: { value: string | null; previousValue: string | null; source: string }) => void | |
onValueChange | (value: string | null) => void | |
readOnly | boolean | |
required | boolean | |
value | string |
Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).
Element: <ui-date-field>
DateField renders the ui-date-field custom element from @editora/ui-core, which can also be used without React.
Attributes: aria-describedby, aria-description, aria-label, data-error, description, disabled, label, locale, max, min, name, readonly, required, value
Events: change