Simple elm search/select input with debouncer
This is in Alpha and is currently not intended for external use (yet).
Currently working on stylings (elm-css or supply your own css)
See a full example of the select input here
Select Input configuration model
Select Input messages
Dropdown open state
Select input's search configuration
Select Input internal state setters
Filter - bring your own with parent msg. Others to come.
Return msgs for your application to respond to
Select input's search query
Minimum model creation. This will be split out into 'RequiredModel' in future
Initialise select input with a filter
basicInit yourArgs
|> addFilter (Select.CustomFilter yourView)Add a SearchQuery for usage when search input changes
Add a SearchQuery for usage when search input changes
Add initial list of items
Add initially selected item
Config change to display (or not) the clear button. Default is True
Config change to min length of search terms Default is 0
Config change to min search results before running query Default is 0
Update function in future it will have a third el to its tuple for synchronisation
Check if selector is open or not
An item for selection