Skip to content

Commit

Permalink
LIB-443 Also add #wrapper_attributes to eres KB form
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Dec 11, 2024
1 parent a0097a8 commit e77d893
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom/modules/eresources/src/Form/KbFormBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] = [
Expand Down

0 comments on commit e77d893

Please sign in to comment.