Condtional style on a field not working on v1.1.12.0
- This topic has 1 reply, 2 voices, and was last updated 1 year, 5 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Modern DFFS › Condtional style on a field not working on v1.1.12.0
Hi,
Found some bugs in v1.1.12.0
1) Conditional style help text now showing correctly (see attachment)
2) Conditional styles do not work for a single field (not in a vLookup, just a field)
This is what I tried for a Yes/No field (Field properties > Conditional style)
[
{
“operator”: “=”,
“value”: “No”,
“style”: {
“backgroundColor”: “red”
}
},
{
“operator”: “=”,
“value”: “Yes”,
“style”: {
“backgroundColor”: “yellow”
}
}
]
But it is ignored
BTW: This code works when the conditional style is defined within a “lookup”
Thanks!
Hi,
I’ll get the help text fixed in the next version. You must change the value to true / false for it to work on a boolean field – like this:
[
{
"operator": "=",
"value": false,
"style": {
"backgroundColor": "red"
}
},
{
"operator": "=",
"value": true,
"style": {
"backgroundColor": "yellow"
}
}
]
PS: I found that if you have a whitespace as the first character in the conditional formatting, it won’t work – this will be fixed in the next version.
Alexander