Is possible implement native conditional fields?
Can you provide an example of what you're thinking? or are you referring more to merging in something like https://github.com/jcchavezs/cmb2-conditionals in an attempt to make sure the functionality continues to be maintained?
Can you provide an example of what you're thinking? or are you referring more to merging in something like https://github.com/jcchavezs/cmb2-conditionals in an attempt to make sure the functionality continues to be maintained?
It would look something like this.
Can you provide an example of what you're thinking? or are you referring more to merging in something like https://github.com/jcchavezs/cmb2-conditionals in an attempt to make sure the functionality continues to be maintained?
Currently this plugin (https://github.com/jcchavezs/cmb2-conditionals) does not work well with groups of fields or repetitive fields or option pages. It would be interesting to have something like this native in CMB2
Gotcha. I can't and won't make any promises here, but I am willing to leave the enhancement idea open for the time being.
Thanks Michael, I have been developing projects for a long time using CMB2, this plugin is incredible, if I can say something that is missing from it, just one thing, that's it. Thank you for your time.
This feature would be awesome the cmb2 conditionals plugin is great but like angelorocha said it doesn't work on some fields. I personally am currently using jQuery to try and make things work but I still have to wrap fields and group rows with a div and then target those with jQuery. Its working pretty well expect when you add a new group row my jQuery will log the select box change but wont change out the wrapped group rows and fields. not sure why maybe something to do with the DOM not recognizing the new row which is weird cause it will log the select box selection. So I just don't know. But if you update the page then the wrapped rows and fields will switch when the select box is changed.
Most helpful comment
Gotcha. I can't and won't make any promises here, but I am willing to leave the enhancement idea open for the time being.