Import
import { Field } from '@dnb/eufemia/extensions/forms'render(<Field.Date />)
Description
Field.Date is a wrapper component for the DatePicker, with user experience tailored for date values.
There is a corresponding Value.Date component.
Relevant links
Validators
Internal validators exposed
Field.Date exposes the dateValidator validator through its onBlurValidator property, take a look at this demo.
The dateValidator validator, validates invalid dates, and dates against the minDate and maxDate properties.