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

Support custom error message for input element that has multiple constraints

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.0.0
    • 7.0.4
    • Components
    • Security Level: Jean
    • None
    • ZK 8.0.1

      According to document, currently only last constraint can define custom error message. It is better to let every constraint has its own custom error message.

      For example,

      <datebox constraint="no empty: please select a date, no future: now or never" />
      

            ChunfuChang ChunfuChang
            vincentjian vincentjian
            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 - 1 day
                1d