DateField
Example
Props
Name | Type | Default Value | Required | Description |
---|---|---|---|---|
type |
| No | ||
shortcuts | ShortcutProps<Date>[] | ShortcutProps<[Date, Date]>[] | No | ||
name | string | No | ||
value | Date | [Date, Date] | Yes | ||
onChange | ((value: Date) => unknown) | ((value: [Date, Date]) => unknown) | Yes | ||
onBlur | () => unknown | No | ||
label | string | Yes | ||
issues | NonEmptyArray<Children> | No | ||
disabled | boolean | No | ||
assistiveText | Children | No | ||
autoFocus | boolean | No | ||
hint | string | No | ||
hintPlacement |
| No | ||
minDate | Date | No | ||
maxDate | Date | No | ||
shouldDisableDate | (date: Date) => boolean | No | ||
readOnly | boolean | No |