Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2916

Add the possibility to set a validation class for controls.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Not an issue
    • Major
    • None
    • 4.2
    • core, gui

    Description

      Sometimes there is the need of validating a dialog element (control) with more logic than the "required" and regular expressions only. I'm thinking about email fields, of even a check for image dimensions or colours in the image control. It would be really nice to have che possibility to set a property in the control configuration with (for instance) "validationClass" and a class that extends some interface.

      Usually I do something similar extending the control I want to validate, but it should be quicker if this behaviour is in the common parent for all controls.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              dfghi Danilo Ghirardelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD