Condtional style on a field not working on v1.1.12.0

Home Forums Modern DFFS Condtional style on a field not working on v1.1.12.0

Viewing 1 reply thread
  • Author
    Posts
    • #38651
      Marcus Khoo
      Participant

        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!

      • #38653
        Alexander Bautz
        Keymaster

          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

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.