Italia Codice Fiscale Input
an input for entering Italy's Codice fiscale (CF)
This is a new component. See the canonical documentation for full details.
an input for entering Italy's Codice fiscale (CF)
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="italia-codice-fiscale-input" id="demo-input" aria-label="an input for entering Italy's Codice fiscale (CF)" /><Field label="Italian Fiscal Code" required>
<ItaliaCodiceFiscaleInput label="Italian Fiscal Code" value={value} required />
<Hint>16 alphanumeric characters: 3 from the surname, 3 from the given name, 5 encoding date of birth and sex, 4 encoding place of birth, and 1 check character</Hint>
<ErrorMessage>Please enter a valid Italian Fiscal Code</ErrorMessage>
</Field>
// In your Svelte component:
import ItaliaCodiceFiscaleInput from "lily-design-system-svelte-headless/components/ItaliaCodiceFiscaleInput/ItaliaCodiceFiscaleInput.svelte";
<ItaliaCodiceFiscaleInput 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