Conditional “contains” doesn’t work in edit mode
-
Hi,
I found a bug with the “contains” conditional operator of profile fields.
The operator works fine when viewing a profile, but it doesn’t work when editing the profile.
More precisely, it looks like “contains” behaves like “equals to” in edit mode.To reproduce the issue :
– create a text field with meta key “abc” and default value “XYZ”
– create any field with conditionnal rule : “show” if “abc” “contains” “XYZ”
– save, go to the user page.In view mode, the second field is shows up.
Edit user profile : the second field still shows up.
If you change “XYZ” to anything else, including a string containing “XYZ”, the field disappears.Latest UM and WP versions.
Could you have a look at this, please ?
Thanks,
Have a good day !
The topic ‘Conditional “contains” doesn’t work in edit mode’ is closed to new replies.