Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3210

Spinner custom constraint error message partially wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Later Later
    • 8.0.2
    • Freshly, 8.0.2
    • Components
    • Security Level: Jimmy
    • None

      configuring a spinner like that (using min and max) will lead to mixed custom and default error message

      <spinner constraint="min 5 max 10:should be between 5 and 10 (incl.)"/>
      

      input value <5 -> custom error message is shown
      input value >10 -> default error message is shown

      workaround:
      specify the min and max error message separately

      <spinner constraint="min 5:should be between 5 and 10 (incl.), max 10:should be between 5 and 10 (incl.)"/>
      

            wenninghsu wenninghsu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h