Skip to content

Commit

Permalink
[REF] support select2 for countryFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
n3o77 committed Jan 8, 2024
1 parent db8f2d1 commit 17e1612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FilterType/CountryFilterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function buildForm($builder, array $options = [], $data = null): void
'required' => false,
'translation_domain' => 'unlooped_grid',
'attr' => [
'class' => 'custom-select',
'class' => ($options['use_select2'] ? 'initSelect2' : 'custom-select'),
],
'preferred_choices' => $options['preferred_choices'],
])
Expand Down

0 comments on commit 17e1612

Please sign in to comment.