Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2141

All attributes of a PB block are required

    XMLWordPrintable

Details

    Description

      All attributes of a custom Page Builder block are required, regardless of whether they have validators set or not.

      Steps to reproduce
      1. Create a custom block with the following attributes:

      attributes:
          integer:
              type: integer
          text:
              type: text
              validators:
                  not_blank:
                      message: 'Something'
      

      2. Create a Page and drag the new block to it.
      3. Open the block's configuration.

      Expected result
      The 'text' attribute is marked with an asterisk and required, the 'integer' attibute is not.

      Actual result
      Both attributes are marked with an asterisk and required.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dominika.kurek-obsolete@ibexa.co Dominika Kurek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: