Variable Widget has incorrect validation indicator

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Won't Fix
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: commons-ui
    • None

      How to reproduce:

      • Have a variable widget with a variable of type boolean with checked checkbox
      • Change type to integer
      • Value field contains the value 'true'

      Expected behavior:

      • As 'true' is not a valid Integer value, the value field is highlighted in red

      Observed behavior:

      • value field is not highlighted

      Hint:
      Validation is correct, the ng-invalid class is correctly set. However, the invalid indicator css is only applied together with the ng-dirty class and the value field is pristine after the type change.

        This is the controller panel for Smart Panels app

              Assignee:
              Valentin
              Reporter:
              Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: