Open aharaguchi opened 1 year ago
Yeah, sorry. I introduced this bug by the feature. I already fixed it 17 days ago but it is not merged so far. See https://github.com/guillotinaweb/ngx-schema-form/pull/452
Ooo thank you so much @KBroichhausen , this is awesome! I saw your PR but wasn't able to find the time to look into exactly what was going wrong with the issue. Appreciate it.
We recently upgraded to
2.8.4
and noticed that our form schemas' conditionals are no longer working.2.8.1
seems alright whereas2.8.2
isn't, so I believe this is the PR that broke it.Expected Behaviour: When selecting multiple options from the Select widget, each option selected should cause corresponding numerical fields to appear.
Current Behaviour: The numerical field for only the first option selected appears.
I noticed that in
2.8.1
's__evaluateVisibilityIf
function, thevalue
param would come in as "Option #1", "Option #2", etc. in 2.8.4, only "Option #1" is ever passed into the function.Form Schema: