mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-04 15:34:35 +02:00
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:
parent
3c3a03a179
commit
2e18065d5a
13 changed files with 100 additions and 93 deletions
|
@ -130,11 +130,6 @@ class UserAdminForm extends AbstractType
|
|||
//Config section
|
||||
->add('language', LanguageType::class, [
|
||||
'required' => false,
|
||||
'attr' => [
|
||||
'data-controller' => 'elements--selectpicker',
|
||||
'title' => 'selectpicker.nothing_selected',
|
||||
'data-live-search' => true,
|
||||
],
|
||||
'placeholder' => 'user_settings.language.placeholder',
|
||||
'label' => 'user.language_select',
|
||||
'preferred_choices' => ['en', 'de'],
|
||||
|
@ -142,11 +137,6 @@ class UserAdminForm extends AbstractType
|
|||
])
|
||||
->add('timezone', TimezoneType::class, [
|
||||
'required' => false,
|
||||
'attr' => [
|
||||
'data-controller' => 'elements--selectpicker',
|
||||
'title' => 'selectpicker.nothing_selected',
|
||||
'data-live-search' => true,
|
||||
],
|
||||
'placeholder' => 'user_settings.timezone.placeholder',
|
||||
'label' => 'user.timezone.label',
|
||||
'preferred_choices' => ['Europe/Berlin'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue