Commit b9b17e34 authored by Kris Breuker's avatar Kris Breuker

Don’t let conditions disable prefill options

parent a5871726
......@@ -685,7 +685,7 @@ export default class FormBase
}
}
for(let option of dompack.qSA(this.node, "select > option"))
for(let option of dompack.qSA(this.node, ".wh-form__fieldgroup select > option"))
{
let formgroup = dompack.closest(option, ".wh-form__fieldgroup");
let visible = !hiddengroups.includes(formgroup) && this._matchesCondition(option.dataset.whFormVisibleIf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment