Romania Cod Numeric Personal Input
an input for entering Romania's Cod Numeric Personal (CNP)
This is a new component. See the canonical documentation for full details.
an input for entering Romania's Cod Numeric Personal (CNP)
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="romania-cod-numeric-personal-input" id="demo-input" aria-label="an input for entering Romania's Cod Numeric Personal (CNP)" /><Field label="Personal Numerical Code" required>
<RomaniaCodNumericPersonalInput label="Personal Numerical Code" value={value} required />
<Hint>13 digits: gender and century (1/3/5/7 male</Hint>
<ErrorMessage>Please enter a valid Personal Numerical Code</ErrorMessage>
</Field>
// In your Svelte component:
import RomaniaCodNumericPersonalInput from "lily-design-system-svelte-headless/components/RomaniaCodNumericPersonalInput/RomaniaCodNumericPersonalInput.svelte";
<RomaniaCodNumericPersonalInput 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