Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1241

Providing better feedback when RegEx validation does not match pattern

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.0
    • 1.11.0
    • Core
    • None

    Description

      Currently, when using RegEx validation, the error message could be improved. When the input isn't valid, the following string is shown: "Doesn't match pattern". But it doesn't tell you to which pattern the value must match. Therefore I think that adding regexPatternDescription() next to the existing regexPattern() could be an improvement. This way an incorrect pattern can be clarified to a human-being by returning the patternDescription.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yrtan Yuri Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: