Skip to contents

For a given field, generates the corresponding shiny input tag. All ui_update updates the corresponding input on the server side. input_ids is reponsible for finding the element id.

Usage

ui_input(x, id, name)

# S3 method for class 'string_field'
ui_input(x, id, name)

# S3 method for class 'select_field'
ui_input(x, id, name)

# S3 method for class 'switch_field'
ui_input(x, id, name)

# S3 method for class 'numeric_field'
ui_input(x, id, name)

# S3 method for class 'submit_field'
ui_input(x, id, name)

# S3 method for class 'upload_field'
ui_input(x, id, name)

# S3 method for class 'filesbrowser_field'
ui_input(x, id, name)

# S3 method for class 'result_field'
ui_input(x, id, name)

input_ids(x, ...)

# S3 method for class 'block'
input_ids(x, ...)

# S3 method for class 'field'
input_ids(x, name, ...)

# S3 method for class 'hidden_field'
input_ids(x, name, ...)

# S3 method for class 'variable_field'
ui_input(x, id, name)

# S3 method for class 'range_field'
ui_input(x, id, name)

# S3 method for class 'hidden_field'
ui_input(x, id, name)

# S3 method for class 'list_field'
ui_input(x, id, name)

ui_update(x, session, id, name)

# S3 method for class 'string_field'
ui_update(x, session, id, name)

# S3 method for class 'select_field'
ui_update(x, session, id, name)

# S3 method for class 'switch_field'
ui_update(x, session, id, name)

# S3 method for class 'variable_field'
ui_update(x, session, id, name)

# S3 method for class 'range_field'
ui_update(x, session, id, name)

# S3 method for class 'numeric_field'
ui_update(x, session, id, name)

# S3 method for class 'submit_field'
ui_update(x, session, id, name)

# S3 method for class 'upload_field'
ui_update(x, session, id, name)

# S3 method for class 'filesbrowser_field'
ui_update(x, session, id, name)

# S3 method for class 'hidden_field'
ui_update(x, session, id, name)

# S3 method for class 'list_field'
ui_update(x, session, id, name)

Arguments

x

Object for which to generate UI components

id

UI IDs

name

Field name.

...

Generic consistency

session

Shiny session