cmb2-conditionals icon indicating copy to clipboard operation
cmb2-conditionals copied to clipboard

Allow conditionals for non-input fields

Open vladolaru opened this issue 3 years ago • 0 comments

Allow for non-input fields (like titles) to be conditionally shown.

The trick involved is to use the id attribute as a substitute for the name fields of inputs to remember the seen dependents. The rest of the logic works since it relies on the parent rows.

This solves https://github.com/jcchavezs/cmb2-conditionals/issues/27

vladolaru avatar Jun 11 '21 12:06 vladolaru