projects/forms/select/shared/option.model.ts
Filters by term using a listbox match fn. Preserves group shape; empty groups dropped. The matcher payload's id: '' is synthetic; real DOM ids come from CngxOption, and in-tree matchers ignore the field.
term
match
id: ''
CngxOption
filterSelectOptions(input: CngxSelectOptionsInput, term: string, match)
CngxSelectOptionsInput
string