Interface · v2.7.1
NgbTypeaheadItem
An option with a stable ID, display label, optional form value and disabled state.
Import
import type { NgbTypeaheadItem } from '@angular-bootstrap/ngbootstrap';Declaration
interface NgbTypeaheadItemProperties
id
Stable string or numeric identifier. Required for selection and rendering.
id: string | numberlabel
Text displayed and searched by local filtering.
label: stringvalue
Optional Angular form value. If undefined, the selected item object becomes the form value.
value?: anydisabled
Disables selection of this option.
disabled?: boolean