verbb / vizy

A flexible visual editor for Craft CMS
Other
43 stars 8 forks source link

Conditional fields in Block context #233

Open jan-dh opened 1 year ago

jan-dh commented 1 year ago

What are you trying to do?

I would love to have the ability to have, just like in an entry, the options to show/hide fields in a block, based on for example a lightswitch field in that same field. Currently the conditional options are only available on user level.

What's your proposed solution?

Expose extra conditional options.

Additional context

No response

engram-design commented 1 year ago

Yep, it’s been mentioned before https://github.com/verbb/vizy/issues/64 but we’d have to write all the conditional logic in Vue as we can’t use Craft’s own conditional field handling