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

Spinner custom constraint error message partially wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Later
    • Resolution: Fixed
    • Affects Version/s: Freshly, 8.0.2
    • Fix Version/s: 8.0.2
    • Component/s: Components
    • Security Level: Jimmy

      Description

      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.)"/>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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