mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
parent
ca5823819d
commit
0a4fdb6665
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ export default class extends Controller {
|
|||
create: true,
|
||||
maxItems: 1,
|
||||
createOnBlur: true,
|
||||
//This a an ugly solution to disable the delimiter parsing of the TomSelect plugin
|
||||
delimiter: 'VERY_L0NG_D€LIMITER_WHICH_WILL_NEVER_BE_ENCOUNTERED_IN_A_STRING',
|
||||
render: {
|
||||
item: (data, escape) => {
|
||||
return '<span>' + escape(data.label) + '</span>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue