billythekid / conditional-fields

Craft plugin to only use fields if certain conditions (other field values) match
MIT License
13 stars 1 forks source link

Not working with Neo #11

Open akagibi opened 4 years ago

akagibi commented 4 years ago

My conditional field is in a Neo structure. I have to change the lightswitch value to get the condition to be applied. Cool plugin, thank you ;)

billythekid commented 4 years ago

Hi @akagibi Thanks for this.

I'll take a look a neo, matrix and supertable layouts to see if this can be supported.

JayBox325 commented 4 years ago

@billythekid Hi! I am just using this plugin today but I'm using it within a Matrix, but I can't choose a field within a Matrix block to base a new field on. Did you get anywhere with looking at supporting Neo/Matrix/Supertable?

Thanks!

billythekid commented 4 years ago

Hi @JayBox325 No I've not done anything with this plugin because Reasons got updated and I've been directing people there instead.

This was just a stopgap for simple conditionals because Reasons wasn't being developed for Craft 3 at the time.

If I get the chance I'll check it out (and will take PRs of course) but I wouldn't pin my hopes on this functionality getting added. I've not even checked if it works with the new Craft 3.5+ releases. 😞

Sorry it's not the news you were hoping for!

JayBox325 commented 4 years ago

No worries, at all. I'm sure the Craft guys will be bringing conditional fields into 3.5 (or 3.6 perhaps) instead of 4 now anyway.

Unfortunately Reasons doesn't do what I need for my user case. I have a "page components" matrix with a "media" block. But within this, I'd like to present appropriate fields based on what the author is hoping to showcase such as allowing multiple assets for a slider, two separate fields for video (mp4 and webm) etc.

Cheers for getting back to me though, appreciate it.

billythekid commented 4 years ago

@JayBox325 you might find the spoon plugin helpful for some of this?