vizy icon indicating copy to clipboard operation
vizy copied to clipboard

Conditional field layout within blocks

Open jmchat opened this issue 4 years ago • 8 comments

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.

jmchat avatar Aug 06 '21 18:08 jmchat

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

engram-design avatar Aug 09 '21 06:08 engram-design

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

jmchat avatar Mar 16 '22 22:03 jmchat

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

JshGrn avatar Sep 24 '22 14:09 JshGrn

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.

engram-design avatar Mar 24 '23 13:03 engram-design

Completely understandable, they do not mix.

JshGrn avatar Mar 24 '23 14:03 JshGrn