Set selectOnTab option for tomSelect inputs

This commit is contained in:
Jan Böhmer 2023-02-06 22:59:03 +01:00
parent 8f646e7e7b
commit 7989d4e344
3 changed files with 3 additions and 0 deletions

View file

@ -58,6 +58,7 @@ export default class extends Controller
//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',
createOnBlur: true,
selectOnTab: true,
create: true,
searchField: "name",
//labelField: "name",