Skip to contents

Server module

TBD

Usage

# S3 method for class 'keyvalue_field'
generate_server(x, ...)

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

new_keyvalue_field(
  value = NULL,
  multiple = TRUE,
  submit = TRUE,
  key = c("suggest", "empty", "none"),
  ...
)

keyvalue_field(...)

Arguments

x

Object for which to generate UI components

...

Generic consistency

id

UI IDs

name

Field name.

value

Field value

multiple

Allow multiple selection

submit

Should a 'submit button' be shown?

key

How to display the 'key' field