Skip to contents

Renders one field per spec, laid out as this package's settings bands are. Values come from a block's option list; anything absent shows its declared default.

Usage

format_options_ui(specs, ns, values = list())

Arguments

specs

Named list of format_opt specs, e.g. from source_options().

ns

Namespace function, shiny::NS() of the calling module's id. Field input ids are the spec names, namespaced.

values

Named list of current option values (deviations only).

Value

A htmltools::tag, or NULL when there are no specs.