Core logic for the listbox widget implemented as a state machine
A listbox displays a list of options and allows a user to select one or more of them.
An autocomplete combines a text input with a listbox, allowing users to filter a list of options to items matching a query.