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

Can't delete ezmatrix row from content edit UI

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.3.1, 3.2.5
    • 3.3.0, 3.2.3
    • None

    Description

      Hi !
      the  matrix_fieldtype/content_edit_form_fields.html.twig template had this modification :

      • <input type="checkbox" class="ez-table__ezmatrix-entry-checkbox">
        + <input type="checkbox" class="ez-input ez-input--checkbox ez-ez-table__ezmatrix-entry-checkbox">
        but the javascript still search for :
        const SELECTOR_MATRIX_ENTRY_CHECKBOX = '.ez-table__ezmatrix-entry-checkbox';
        It seems to have an extra  'ez-'    ( *ez-*ez-table__ezmatrix-entry-checkbox )
        The result is that we can't detete selected rows, because the trigger supposed to enabled the delete button is never called !
         
        To reproduce :
          # create a content type with an ezmatrix field
      1. create a new content
      2. add a row to the ezmatrix field, select the row
      3. the delete button will not be enabled

      Attachments

        Activity

          People

            Unassigned Unassigned
            7dfa243b-aa18-410c-99e2-fc748bfb43a8@accounts.ibexa.co Support Kaliop
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: