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

Show when validator fails in link field

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      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.

        Attachments

        1. dialog.yaml
          0.5 kB
          Pierre Sandrin
        2. not-ok.jpg
          94 kB
          Pierre Sandrin
        3. ok.jpg
          82 kB
          Pierre Sandrin

          Activity

            People

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

              Dates

              Created:
              Updated: