- Description:
This key defines the visibility of an input in the Data Editor or the sidebar of the Visual Editor or Content Editor.
Hidden inputs are useful when you want an input to exist, but not be visible or editable outside of the Source Editor.
Value can be a boolean or a string. A boolean value of
truewill hide the input.A string value can hide an input based on the value of another input.
You can reverse the value with a
!character at the beginning.publishedhides an input when the sibling inputpublishedis truthy!publishedhides an input when the sibling inputpublishedis falsy
For reverse values in
YAMLfiles, the string should be in'or"quotation marks.By default, this key follows the input naming convention where key names beginning with an underscore are hidden
true.- Appears in:
└── _inputs └── * ├── Text Input │ └── hidden ├── Textarea Input │ └── hidden ├── Code Input │ └── hidden ├── Color Input │ └── hidden ├── Boolean Input │ └── hidden ├── Number Input │ └── hidden ├── Range Input │ └── hidden ├── Rich Text Input │ └── hidden ├── Date/Datetime Input │ └── hidden ├── Time Input │ └── hidden ├── File Input │ └── hidden ├── URL Input │ └── hidden ├── Select Input │ └── hidden ├── Multiselect Input │ └── hidden ├── Choice Input │ └── hidden ├── Multichoice Input │ └── hidden ├── Object Input │ └── hidden └── Array Input └── hidden- Default value:
false- Types:
- Examples: