mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 20:04:34 +02:00
Use tagsinput for attachmenttype filetype filter to improve UX
This commit is contained in:
parent
bfc3abd259
commit
455acccc7e
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ class AttachmentTypeAdminForm extends BaseEntityAdminForm
|
||||||
'help' => 'attachment_type.edit.filetype_filter.help',
|
'help' => 'attachment_type.edit.filetype_filter.help',
|
||||||
'attr' => [
|
'attr' => [
|
||||||
'placeholder' => 'attachment_type.edit.filetype_filter.placeholder',
|
'placeholder' => 'attachment_type.edit.filetype_filter.placeholder',
|
||||||
|
'data-controller' => 'elements--tagsinput'
|
||||||
],
|
],
|
||||||
'empty_data' => '',
|
'empty_data' => '',
|
||||||
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
|
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue