Open avanmeul opened 3 years ago
It would be nice if the samples and/or documentation included a trivial example (i.e. with 2 hardcoded options) of a dropdown using select + option.
It looks to me like you make them something like this:
cbxVector <- UI.select #+ map ((i, _) -> UI.option #+ [i]) [(string "choice1", 1), (string "choice2", 2), (string "choice3", 3)]
It would be nice if the samples and/or documentation included a trivial example (i.e. with 2 hardcoded options) of a dropdown using select + option.
It looks to me like you make them something like this:
cbxVector <- UI.select #+ map ((i, _) -> UI.option #+ [i]) [(string "choice1", 1), (string "choice2", 2), (string "choice3", 3)]