Raxol.UI.Components.Input.SelectList.Search (Raxol v0.3.0)
View SourceHandles search and filtering functionality for the SelectList component.
Summary
Functions
Filters options based on search text and optional searchable fields. Returns nil if no search text is provided, otherwise returns filtered options.
Checks if an option matches the search text. If searchable_fields is provided, only those fields are searched. Otherwise, the option label is searched.
Updates search-related state based on new search text.
Types
Functions
Filters options based on search text and optional searchable fields. Returns nil if no search text is provided, otherwise returns filtered options.
Checks if an option matches the search text. If searchable_fields is provided, only those fields are searched. Otherwise, the option label is searched.
Updates search-related state based on new search text.