This release introduces configuration for inputs separate from the naming conventions. It's all backwards compatible, and we have a migration guide to start changing your sites over. There are a number of new inputs and options for each.
Features:
- Color inputs have new
formatandalphaoptions, falling back to the naming convention if these options are not set. - Hiding inputs is now set with
hiddenin an_inputsentry rather than an option, since it’s available for any input type. This key also supports a string where the input is hidden based on the value of another input. This can start with a!to reverse the value. - Object structures are now supported. These allow you to configure objects between an empty state (
null) and a selection of object formats. Useful if you have components with a limited number of sub-components. - Two new inputs: Range number input and a Switch boolean input. These are only available with the new inputs config. More input types coming soon, contact support if you have specific requests.
- Comments now support a limited set of Markdown: links, bold, italic, subscript, superscript and inline code elements are allowed. Links in this block also support Editor Links.
- Better object previews with configurable text and subtext.
- Select and multiselect inputs now have the
value_keyoption to set how values are saved, and thetext_keyoption for setting how values are displayed. - Added disabled input type for visible, uneditable text values.
step,minandmaxoptions for number inputs.- Configuration for changing the label and type of an input separate from the naming conventions.
Fixes:
- Number inputs are invalid if they don't contain numbers.
- Corrected the textarea input naming convention from
texttotextarea. - Clone page is now hidden if
_disable_addistrue. - Webhooks now fail if they have no site attached.
- HTML, Markdown and Code Block is no longer stripped from input labels.
- Fixed some valid values not being allowed when adding DNS records.