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

'Multiple' block's attribute is not rendered correctly

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

       1. Introduce new block config:

      ezplatform_page_fieldtype:
          blocks:
              random:
                  name: Random block
                  thumbnail: assets/images/ez-icons.svg#block-visible-recurring
                  views:
                      random:
                          template: blocks/random/default.html.twig
                          name: Random Content Block View
                  attributes:
                      name:
                          type: text
                          validators:
                              not_blank:
                                  message: Please provide a name
                      show_icon:
                          type: multiple
                          options:
                              choices:
                                  'Yes': yes
      

      2. Edit any LP in the Page Builder.

      3. Add the newly configured custom block.

      Expected result:
      The gray background for the switch is not rendering properly when it's set as false (turned off). See attached screenshots.

      Result:
      The switch is rendered properly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            konrad.oboza@ibexa.co Konrad Oboza
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: