Description Usage Arguments Functions See Also
View source: R/bulma-form-select.R
The browser built-in select dropdown, styled accordingly. The select class is
a simple wrapper around the <select>
HTML element, which gives the styling
more flexibility and support for icons.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | bulma_form_select(
name,
...,
rows = NULL,
rounded = FALSE,
readonly = FALSE,
disabled = FALSE,
multiple = FALSE,
color = c("primary", "link", "info", "success", "warning", "danger", "white",
"black", "light", "dark"),
size = c("small", "normal", "medium", "large"),
state = c("hovered", "focused", "active", "loading", "static"),
outer_tag = tags$div,
inner_tag = tags$select
)
bulma_form_select_option(..., value = NULL, tag = tags$option)
|
name |
(str) identifier needed when posting the data |
... |
(tag) content |
rows |
(int) how many options to make visible |
rounded |
(flg) rounded select |
readonly |
(flg) cannot be edited |
disabled |
(flg) grayed out and cannot be edited |
multiple |
(flg) can select multiple? |
color |
styling parameters |
size |
styling parameters |
state |
styling parameters |
outer_tag, inner_tag |
(fun) default HTML tags |
value |
(scalar) machine value for the value |
tag |
(fun) default HTML content |
bulma_form_select
: main container; contains bulma_form_option()
bulma_form_select_option
: the option inside the select
Other Bulma Form Components:
bulma_form_button()
,
bulma_form_checkbox()
,
bulma_form_file()
,
bulma_form_input()
,
bulma_form_radio()
,
bulma_form_textarea()
,
bulma_form()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.