Description Usage Arguments Value
Provides server logic for the orTextual module.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
input |
Shiny's input object. |
output |
Shiny's output object. |
session |
Shiny's session object. |
choices |
A list or a character vector with the possible choices offered in the UI. See |
selected |
The initially selected value. See |
label |
A character vector of length one with the label for the |
delimiter |
A single character indicating if and how items are delimited (default: |
multiple |
Whether or not selection of multiple items is allowed. |
contains |
Logical variable. If TRUE shows module as a textsearch input. |
reset |
A reactive which will trigger a module reset on change. |
parse_mode |
Boolean to enable text to selection parsing. Ignored if multiple = FALSE or contains = TRUE. |
Returns a reactive containing a named list with the label, the selected choices as a character vector (text) and a boolean vector of length length(choices)
(bool), indicating whether a item has been chosen. If no item has been chosen, the return is TRUE
for items.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.