Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4871

Show when validator fails in link field

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 6.0
    • None
    • Magnolia 6.0

      When a (custom) validator is added to a link field and the field value is not valid, the UI does not show it. Only when you hover on the field a tooltip appears.

      This leads to the situation that the editor cannot save the form but does not know where the problem is. (Which field fails)

      If a validator fails on a text field, a red border is indicating that the field not valid. This should also work for link fields.

      I also attached our custom validator (MimeTypeValidator) and the dialog definition of the respective field.

        Acceptance criteria

          1. ok.jpg
            ok.jpg
            82 kB
          2. not-ok.jpg
            not-ok.jpg
            94 kB
          3. MimeTypeValidatorClasses.zip
            2 kB
          4. dialog.yaml
            0.5 kB

              Unassigned Unassigned
              pierre Pierre Sandrin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:

                  Task DoD