Skip to contents

Switch fields are translated into input_switch

Usage

new_switch_field(value = FALSE, ...)

Arguments

value

Default text input value.

...

Other parameters passed to new_field and may be needed by ui_input to pass more options to the related shiny input.