Bulgaria Edinen Grazhdanski Nomer Input
an input for entering Bulgaria's Единен граждански номер / Edinen grazhdanski nomer (EGN)
This is a new component. See the canonical documentation for full details.
an input for entering Bulgaria's Единен граждански номер / Edinen grazhdanski nomer (EGN)
This is a new component. See the canonical documentation for full details.
<label class="label" for="demo-input">Label</label><input class="bulgaria-edinen-grazhdanski-nomer-input" id="demo-input" aria-label="an input for entering Bulgaria's Единен граждански номер / Edinen grazhdanski nomer (EGN)" /><Field label="Uniform Civil Number" required>
<BulgariaEdinenGrazhdanskiNomerInput label="Uniform Civil Number" value={value} required />
<Hint>10 digits: the first 6 are the date of birth (YYMMDD), the next 3 encode area and birth order (ninth digit even for boy, odd for girl), and the tenth is a check digit</Hint>
<ErrorMessage>Please enter a valid Uniform Civil Number</ErrorMessage>
</Field>
// In your Svelte component:
import BulgariaEdinenGrazhdanskiNomerInput from "lily-design-system-svelte-headless/components/BulgariaEdinenGrazhdanskiNomerInput/BulgariaEdinenGrazhdanskiNomerInput.svelte";
<BulgariaEdinenGrazhdanskiNomerInput 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