Skip to content
Snippets Groups Projects
Verified Commit cb6fb284 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3251895 by Shabbir, rodrigoaguilera, ckrina:...

Issue #3251895 by Shabbir, rodrigoaguilera, ckrina: claro_form_views_ui_config_item_form_alter() assumes a suffix when there is a prefix leading to: Undefined index #suffix in $form['options']['value']

(cherry picked from commit b4263a3e)
parent 3ef01036
No related branches found
No related tags found
5 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.,!7567Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7565Issue #3153723 by quietone, Hardik_Patel_12: Change the scaffolding...,!7509Change label "Block description" to "Block type"
Pipeline #141551 passed with warnings
Pipeline: drupal

#141564

    Pipeline: drupal

    #141557

      ......@@ -1647,7 +1647,7 @@ function claro_form_views_ui_config_item_form_alter(array &$form, FormStateInter
      foreach (['views-left-30', 'views-left-40'] as $left_class) {
      if (str_contains($form['options']['operator']['#prefix'], $left_class)) {
      $form['options']['operator']['#prefix'] = '<div class="views-config-group-region">' . str_replace($left_class, 'views-group-box--operator', $form['options']['operator']['#prefix']);
      $form['options']['value']['#suffix'] = $form['options']['value']['#suffix'] . '</div>';
      $form['options']['value']['#suffix'] = ($form['options']['value']['#suffix'] ?? '') . '</div>';
      }
      }
      }
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment