Description
Field.Expiry
is a wrapper component for the input of strings, with user experience tailored for national identity number values.
import { Field } from '@dnb/eufemia/extensions/forms'render(<Field.Expiry />)
There is a corresponding Value.Expiry component.
Demos
Empty
Code Editor
<Field.Expiry onChange={(value) => console.log('onChange', value)} />
Placeholder
Code Editor
<Field.Expiry placeholder="letters" onChange={(value) => console.log('onChange', value)} />