Replaced all occurances of bootstrap-select with tomSelect

All choice fields should now use tomselect by default to improve user UX
This commit is contained in:
Jan Böhmer 2023-02-02 00:36:42 +01:00
parent 3c3a03a179
commit 2e18065d5a
13 changed files with 100 additions and 93 deletions

View file

@ -47,11 +47,6 @@ class CurrencyAdminForm extends BaseEntityAdminForm
'required' => false,
'label' => 'currency.edit.iso_code',
'preferred_choices' => ['EUR', 'USD', 'GBP', 'JPY', 'CNY'],
'attr' => [
'data-controller' => 'elements--selectpicker',
'title' => 'selectpicker.nothing_selected',
'data-live-search' => true,
],
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
]);