Malta National Identification Number Input
an input for entering Malta's Malta National Identification Number
This is a new component. See the canonical documentation for full details.
an input for entering Malta's Malta National Identification Number
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="malta-national-identification-number-input" id="demo-input" aria-label="an input for entering Malta's Malta National Identification Number" /><Field label="Malta National Identification Number" required>
<MaltaNationalIdentificationNumberInput label="Malta National Identification Number" value={value} required />
<Hint>8 characters: 7 digits and a letter (A, B, G, H, L, M, P, or Z) that encodes geographic origin and registration era</Hint>
<ErrorMessage>Please enter a valid Malta National Identification Number</ErrorMessage>
</Field>
// In your Svelte component:
import MaltaNationalIdentificationNumberInput from "lily-design-system-svelte-headless/components/MaltaNationalIdentificationNumberInput/MaltaNationalIdentificationNumberInput.svelte";
<MaltaNationalIdentificationNumberInput label="Label" />
Generated from this component's canonical metadata — the machine-checked source the implementations are held to.
aria-label provides accessible name from label proprequired and disabled states conveyed to assistive technologyaria-label provided from the label proplabel: string (required) — accessible label via aria-labelvalue: string (default: "") — bindable input valuerequired: boolean (default: false) — form validationdisabled: boolean (default: false) — disabled state...restProps: any additional HTML attributes spread onto the root