You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first I tried validate:"required_if=Field1 foobar|required_if=Field1 test1|required_if=Field1 test2" for this and it didn't work, despite initially seeming like it should. But I guess this is just #922 and the expected difference between "or" vs "and" when talking about the same field can be confusing, but I think in the end "and" is indeed more correct for this and the resolution there makes perfect sense.
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
I know that required_if support Field1 is equal to the parameter given like:
but,what I wanted is
required_if=Field1 foobar|test1|test2
when Field1 is a enum string and Field1 value is one of foobar,test1,test2.Code sample, to showcase or reproduce:
The text was updated successfully, but these errors were encountered: