Static CMS
Star StaticJsCMS/static-cms on GitHub
v4.3.0DocsExamplesDemoCommunity

Hidden

  • Name: hidden
  • UI: None
  • Data type: Any valid data type

Hidden widgets do not display in the UI. In folder collections that allow users to create new items, you will often want to set a default for hidden fields, so they will be set without requiring an input.

Widget Options

For common options, see Common widget options.

NameTypeDefaultDescription
defaultstringnullOptional. The default value for the field. Accepts any valid data type. Recommended for collections that allow adding new items.

Example

name: layout
label: Layout
widget: hidden
default: blog