mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-21 11:24:40 +02:00
Use tom-select as tagsinput input
This commit is contained in:
parent
591f51432d
commit
78e3d36a5c
9 changed files with 62 additions and 759 deletions
|
@ -148,7 +148,7 @@ class PartBaseType extends AbstractType
|
|||
'attr' => [
|
||||
'class' => 'tagsinput',
|
||||
'data-controller' => 'elements--tagsinput',
|
||||
'data-autocomplete' => $this->urlGenerator->generate('typeahead_tags', ['query' => 'QUERY']),
|
||||
'data-autocomplete' => $this->urlGenerator->generate('typeahead_tags', ['query' => '__QUERY__']),
|
||||
],
|
||||
'disabled' => !$this->security->isGranted('tags.edit', $part),
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue