Demos
Empty
<Field.Date onChange={(value) => console.log('onChange', value)} />
Placeholder
<Field.Dateplaceholder="Enter a date"onChange={(value) => console.log('onChange', value)}/>
Label
<Field.Datelabel="Label text"onChange={(value) => console.log('onChange', value)}/>
Label and value
<Field.Datevalue="2023-01-16"label="Label text"onChange={(value) => console.log('onChange', value)}/>
Disabled
<Field.Datevalue="2023-01-16"label="Label text"onChange={(value) => console.log('onChange', value)}disabled/>
Error
<Field.Datevalue="2023-01-16"label="Label text"onChange={(value) => console.log('onChange', value)}error={new FormError('This is what is wrong...')}/>
Validation - Required
<Field.Datevalue="2023-01-16"label="Label text"onChange={(value) => console.log('onChange', value)}required/>