Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: no fork with tag 4.0.0 found (6 same-name repos checked); https://github.com/MadonnaMat/elm-select-two has tag 4.0.0, but not a package Elm could build from it; https://github.com/MadonnaMat/elm-select-two commit dcad29ab1afb630222dcf6f210ed489ba22ef7ad (the tag's commit when Software Heritage visited) has tag 4.0.0, but not a package Elm could build from it; no cached copy. Use another version.
SelectTwo Types
Command Messages for SelectTwo
Model structure needed for selectTwo, all records using selectTwo should have this structure
Structure created in users model when select2 is activated
Data to generate the dropdown
Grouped SelectTwoOption, first option in the tuple is the name of the group
Rows in a select table, first option is the command message to be sent, second is the html to be displayed and the string to search on, and the third is if it is disabled or not
Parameters used in ajax calls
Config for SelectTwo used when initializing your select2 box