UseDateInputOptions
Properties
Section titled “Properties”defaultValue?
Section titled “defaultValue?”defaultValue?: string | null;disabled?
Section titled “disabled?”disabled?: boolean;emitOutOfRange?
Section titled “emitOutOfRange?”emitOutOfRange?: boolean;id?: string;locale?
Section titled “locale?”locale?: string;max?: string;min?: string;onBlur?
Section titled “onBlur?”onBlur?: (event) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
event | FocusEvent<HTMLElement> |
Returns
Section titled “Returns”void
onChange?
Section titled “onChange?”onChange?: (value) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
value | string | null |
Returns
Section titled “Returns”void
onFocus?
Section titled “onFocus?”onFocus?: (event) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
event | FocusEvent<HTMLElement> |
Returns
Section titled “Returns”void
onPartsChange?
Section titled “onPartsChange?”onPartsChange?: (parts) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
parts | DateParts |
Returns
Section titled “Returns”void
onWarn?
Section titled “onWarn?”onWarn?: (warning) => void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
warning | DateWarning |
Returns
Section titled “Returns”void
readOnly?
Section titled “readOnly?”readOnly?: boolean;value?
Section titled “value?”value?: string | null;