block_option.RdAn object that represents a single selectable item in a select menu, multi-select menu, radio button group, or overflow menu.
block_option(text, value, description = NULL, url = NULL)
| text | character, text that defines the text shown in the option on the menu. |
|---|---|
| value | character, The string value that will be passed to your app when this option is chosen. |
| description | character, text that defines a line of descriptive text shown below the text field beside the radio button. Default: NULL |
| url | character, A URL to load in the user's browser when the option is clicked. Default: NULL |
block_option class
Other compositions:
block_confirm(),
block_option_groups(),
block_text()
block_option(text = 'Maru',value = 'maru')#> { #> "text": { #> "type": "plain_text", #> "text": "Maru" #> }, #> "value": "maru" #> }