In commons-ui, cam-variable-validator directive sets validity to true if value is empty

XMLWordPrintable

      Steps to reproduce
      See protractor test:

        Variable
          editing
            when empty
              ✓ has a dropdown 
              ✓ has a name input 
              ✓ has a value input 
              (x) is not valid 
      

      On editing an empty variable with value type set to null, cam-variable-validator directive has no value.

      Observed behavior
      Validity of input field is true.

      Expected behavior
      Validity should be false.

        This is the controller panel for Smart Panels app

              Assignee:
              Roman Smirnov
              Reporter:
              Tassilo Weidner-Mühl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: