bulma_form_select: Bulma Form: Select

Description Usage Arguments Functions See Also

View source: R/bulma-form-select.R

Description

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.

Select

Usage

 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)

Arguments

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

Functions

See Also

Other Bulma Form Components: bulma_form_button(), bulma_form_checkbox(), bulma_form_file(), bulma_form_input(), bulma_form_radio(), bulma_form_textarea(), bulma_form()


tjpalanca/bulma.R documentation built on Dec. 23, 2021, 10:58 a.m.