Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28178

Validation alert for non-required fields

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.0.0-rc1
    • None
    • Field types
    • Ubuntu 17.04, Firefox 56.0

    Description

      Application shows validation alert for some fields, even they are not marked as required in Content type.

      Steps:
      1. Create a new contant item based on content type with fields: e-mail address, author and URL. Fields are not required.
      2. Click inside and then outside the filed: e-mail, e-mail of Author and URL. you can also type something inside and then delete it. Requirement alert is shown.
      Works the same when you go to create mode, don't fill anything and click publish.

      In addition:
      a) There is no space betweeen label and alert text (marked with yellow on screenshot)
      b) When you put an invalid e-mail address to the field, there is an alert: "A valid email is required" - it's a little bit incosistent, because sometimes there is "e-mail" with "-" and sometimes "email".

      Attachments

        Activity

          People

            Unassigned Unassigned
            barbara.grajczyk@ez.no Barbara Grajczyk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: