Autocomplete contains the main logic to handle auto-complete. The state and logic of Autocomplete should reside within your model. Please refer to our examples to see how it all linked up.
To render the Autocomplete, please refer to Autocomplete.View or Autocomplete.Styled.
Record to expose common values of Autocomplete to be used for display
A useful union type for rendering the correct view for each state of Autocomplete
Record to hold the query and choices for fetching and displaying
Opaque type of Autocomplete internal msg
Initialize the Autocomplete
Update the Autocomplete state
Reset the Autocomplete State
Returns the selectedValue
Returns the ViewState of the Autocomplete
Returns the query of the Autocomplete
Returns the current list of choices
Returns the selected index of the Autocomplete
Helper function to calculate if an index is selected
The opaque type of Autocomplete