powered by
This creates a default text input using Semantic UI. The input is available under input[[name]].
input[[name]]
uitextinput( name, value = "", type = "text", placeholder = NULL, attribs = list() )
Input name. Reactive value is available under input[[name]].
Pass value if you want to have default text.
Change depending what type of input is wanted. See details for options.
Text visible in the input when nothing is inputted.
A named list of attributes to assign to the input.
The following types are allowed:
type
textThe standard input
textareaAn extended space for text
passwordA censored version of the text input
emailA special version of the text input specific for email addresses
urlA special version of the text input specific for URLs
telA special version of the text input specific for telephone numbers
The inputs are updateable by using updateTextInput or updateTextAreaInput if type = "textarea".
updateTextInput
updateTextAreaInput
type = "textarea"
# NOT RUN { library(shiny) library(shiny.semantic) # Text input uiinput( tags$label("Text input"), uitextinput("ex", type = "text", placeholder = "Enter Text") ) # }
Run the code above in your browser using DataLab