verbb / vizy

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

Conditional field layout within blocks #64

Open jmchat opened 3 years ago

jmchat commented 3 years ago

What are you trying to do? A description of what you want to happen. I wan't to make blocks easier and more flexible to be used by content editors. So if a certain setting is checked inside a block show fields or hide other fields which are irrelevant.

What's your proposed solution? A description of how you think this could be solved, including any alternatives that you considered.

Just look at https://plugins.craftcms.com/reasons :-) and get it to work withn the Vizy blocks

Additional context Add any other context or screenshots about the feature request here.

engram-design commented 3 years ago

Yep, we're going to wait for Craft 4 which introduces field conditionals, to piggyback off that functionality!

jmchat commented 2 years ago

https://github.com/craftcms/cms/pull/10300 Go for it 👼 😄

JshGrn commented 1 year ago

Is this still on the road-map? Hopefully simple to piggyback :)

engram-design commented 1 year ago

It's much more complicated than that, unfortunately. We'd need to build in conditionals completely from scratch, as the Vizy field is using Vue, and the conditions use jQuery and htmx - they aren't really compatible.

So this will have to go on the long-term roadmap.

JshGrn commented 1 year ago

Completely understandable, they do not mix.