--- interface Props { id: string; name: string; label: string; placeholder?: string; inputClass?: string; required?: boolean; minLength?: number; autocomplete?: string; inputmode?: 'text' | 'email' | 'tel' | 'url' | 'search' | 'numeric' | 'decimal' | 'none'; } const { id, name, label, placeholder, inputClass, required, minLength = 1, autocomplete = 'off', inputmode, } = Astro.props; const popoverId = `${id}-popover`; const listboxId = `${id}-listbox`; const statusId = `${id}-status`; const hintId = `${id}-hint`; ---
When suggestions are available, use up and down arrows to review and Enter to select. Touch device users, explore by touch or with swipe gestures.