Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wanted: example of dropdown #244

Open
avanmeul opened this issue Jul 13, 2020 · 0 comments
Open

wanted: example of dropdown #244

avanmeul opened this issue Jul 13, 2020 · 0 comments

Comments

@avanmeul
Copy link

avanmeul commented Jul 13, 2020

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)]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant