Conditional setting doesn't seem to work with 'header' config type in Theme settings

Short description of issue

Conditional setting doesn’t seem to work with ‘header’ config type in Theme settings

Reproduction steps

  1. Create input setting of type ‘checkbox’ in settings_schema.json file.
  2. Create sidebar setting of type ‘header’ in settings_schema.json file.
  3. Add a visible_if attribute to the header setting, with the condition that the checkbox setting is true.
  4. In the theme editor, toggle the checkbox setting on and off.

Additional info

The visible_if attribute doesn’t seem to work with the header type setting in the theme settings. It works correctly with the paragraph type settings and other input types in the theme settings, as well as in section settings using the same setup.

What type of topic is this

Bug report

Upload screenshot(s) of issue





Hey @X_Dev_VuPL,

Good find and as described here in the documentation, all sidebar settings should support conditional settings.

1 Like