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.
Allow for non-input fields (like titles) to be conditionally shown.
The trick involved is to use the
id
attribute as a substitute for thename
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