Hey guys, I’m hitting a bug in the UI. I’m adding ...
# contributing
h
Hey guys, I’m hitting a bug in the UI. I’m adding an attribute to an experiment as a boolean “exists” and then it shows “does not exist” in the UI
f
Taking a look
h
API response is showing this
is “$exists”: “” the correct mongo syntax for this?
f
yes,
$exists
is correct, but the value should be true or false, not an empty string
h
ok that may be it then
f
Did you add this condition in the advanced mode?
h
no the basic mode
I added it as “exists”
While you’re on it, would it also be possible to add an “exists” option to a string type attribute
f
is the
sub_status
attribute an enum data type?
h
sub status is an enum type yes
f
ok, I'm able to reproduce it. Should be an easy fix
👍 1
h
lmk when its ready
f
Ok. In advanced mode, you can change it to be
$exists: true
in the meantime.
h
Can I also apply the exists operator to a string based attribute
f
Yes. Not sure why that's missing from the UI. I'll add those operators as well
🙌 1
h
sweet appreciate it
f
It should be fixed now