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

Show when validator fails in link field

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD