From e77d893455b9ea0e609055fbaa330ca515e12a27 Mon Sep 17 00:00:00 2001 From: Jeremy McDermott Date: Wed, 11 Dec 2024 11:34:27 -0400 Subject: [PATCH] LIB-443 Also add #wrapper_attributes to eres KB form --- custom/modules/eresources/src/Form/KbFormBase.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom/modules/eresources/src/Form/KbFormBase.php b/custom/modules/eresources/src/Form/KbFormBase.php index 41f8048a..0dcbbc78 100644 --- a/custom/modules/eresources/src/Form/KbFormBase.php +++ b/custom/modules/eresources/src/Form/KbFormBase.php @@ -96,6 +96,11 @@ public function buildForm(array $form, FormStateInterface $form_state) { '#required' => TRUE, '#options' => $this->getSearchOptions(), '#default_value' => 'title', + '#wrapper_attributes' => [ + 'class' => [ + 'custom-control-wrapper-inline', + ], + ], ]; $form[$form_wrapper]['query_wrapper'] = [