mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Set selectOnTab option for tomSelect inputs
This commit is contained in:
parent
8f646e7e7b
commit
7989d4e344
3 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,7 @@ export default class extends Controller {
|
||||||
create: true,
|
create: true,
|
||||||
maxItems: 1,
|
maxItems: 1,
|
||||||
createOnBlur: true,
|
createOnBlur: true,
|
||||||
|
selectOnTab: true,
|
||||||
//This a an ugly solution to disable the delimiter parsing of the TomSelect plugin
|
//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',
|
delimiter: 'VERY_L0NG_D€LIMITER_WHICH_WILL_NEVER_BE_ENCOUNTERED_IN_A_STRING',
|
||||||
render: {
|
render: {
|
||||||
|
|
|
@ -33,6 +33,7 @@ export default class extends Controller {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
persistent: false,
|
persistent: false,
|
||||||
|
selectOnTab: true,
|
||||||
createOnBlur: true,
|
createOnBlur: true,
|
||||||
create: true,
|
create: true,
|
||||||
};
|
};
|
||||||
|
|
|
@ -58,6 +58,7 @@ export default class extends Controller
|
||||||
//This a an ugly solution to disable the delimiter parsing of the TomSelect plugin
|
//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',
|
delimiter: 'VERY_L0NG_D€LIMITER_WHICH_WILL_NEVER_BE_ENCOUNTERED_IN_A_STRING',
|
||||||
createOnBlur: true,
|
createOnBlur: true,
|
||||||
|
selectOnTab: true,
|
||||||
create: true,
|
create: true,
|
||||||
searchField: "name",
|
searchField: "name",
|
||||||
//labelField: "name",
|
//labelField: "name",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue