ExpressionEngine icon indicating copy to clipboard operation
ExpressionEngine copied to clipboard

Conditional field UI returning values for the wrong field

Open murtaugh opened this issue 3 years ago • 2 comments

I'm trying to update a field that has existing conditions. I want to switch it from "all" to "any", using additional values from the same Selectable Buttons field.

The values in the second instance of the button field are pulling from the wrong field.

image

The "theme" value is from a completely different Selectable Buttons field.

To test, I went into a "new field" form, and tried creating a new conditional using the same field, and I'm getting the same wrong results:

image

I can update the existing condition successfully, but can't use the existing field in a new condition.

(EE 6.3.4)

murtaugh avatar May 31 '22 17:05 murtaugh

Brief update on this: I tried using "contains" in the second column, manually entering the item I was looking for in the "Type {widget_type}" field, which doesn't work:

image

That said, I tried again, using the value I'm looking for, which does work.

image

murtaugh avatar Jun 01 '22 18:06 murtaugh

Just a bump on this - I've got the same issue (6.3.5) and have found that if you add the conditional you initially get the wrong drop-down values as noted in the original post - however if you then save the field and do the update conditional logic thing, the field reloads and when the field reloads you get the correct fields in the dropdown. HTH

jcogs-design avatar Aug 11 '22 13:08 jcogs-design