Skip to contents

Each block consists of a set of fields, which define the type of value the field holds and can be used to customize how the UI is generated.

Usage

new_field(
  value,
  ...,
  type = c("literal", "name"),
  title = "",
  descr = "",
  status = c("active", "disabled", "invisible"),
  class = character()
)

is_field(x)

Arguments

value

Field value

...

Further field components

type

Field type (allowed values are "literal" and "name")

title

A brief title for the field, primarily for display purposes.

descr

A description of the field, explaining its purpose or usage.

status

The status of the field (experimental)

class

Field subclass feature. Default to FALSE. Not yet used.

x

An object inheriting form "field"