Initialize selectpicker via stimulus controller.

This commit is contained in:
Jan Böhmer 2022-03-06 23:27:20 +01:00
parent f1ea25cad2
commit f276c436ae
16 changed files with 31 additions and 32 deletions

View file

@ -82,6 +82,7 @@ class PartLotType extends AbstractType
'disable_not_selectable' => true,
'attr' => [
'class' => 'selectpicker form-control-sm',
'data-controller' => 'elements--selectpicker',
'title' => 'selectpicker.nothing_selected',
'data-live-search' => true,
],