Do not treat commas as delimiter in attachment URLs

Fixes issue #166.
This commit is contained in:
Jan Böhmer 2022-08-13 22:50:55 +02:00
parent ca5823819d
commit 0a4fdb6665

View file

@ -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>';