Wicket
  1. Wicket
  2. WICKET-5046

NumberTextField should use appropriate validator

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket
    • Labels:
      None

      Description

      As it is now the NumberTextField always uses a range validator. If there's a missing bound it is calculated to be the min/max of the given datatype. This results in error messages like "value has to be between 1 and 2147483647" which isn't very user friendly.

      1. WICKET-5046.patch
        2 kB
        Christoph Leiter

        Activity

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Christoph Leiter
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development