Description
Field.NationalIdentityNumber
is a wrapper component for the input of strings, with user experience tailored for national identity number values.
This field is meant for norwegian national identity numbers, and therefor takes a 11-digit string as a value. A norwegian national identity number can have a leading zero, hence why its a string and not a number. More info can be found at Skatteetaten
import { Field } from '@dnb/eufemia/extensions/forms'render(<Field.NationalIdentityNumber />)
There is a corresponding Value.NationalIdentityNumber component.