Appearance
Function: DateField()
ts
function DateField(props: DateFieldProps): Block;Defined in: src/renderer/blocks/index.ts:618
Date picker field.
Parameters
| Parameter | Type |
|---|---|
props | DateFieldProps |
Returns
Examples
ts
DateField({name: 'birthDate', label: 'Birth date', type: 'date'});ts
DateField({
name: 'appointmentDate',
label: 'Appointment date',
type: 'datetime-local',
defaultValue: '2024-01-15T10:00',
required: true,
});