Merge pull request #4188 from mfilser/fix_save_custom_fields_StringTemplates_on_touch_devices

Custom Field StringTemplates didn't save the last input value on touch devices
This commit is contained in:
Lauri Ojansivu 2021-11-26 00:55:27 +02:00 committed by GitHub
commit e0978000f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -271,7 +271,7 @@ CardCustomField.register('cardCustomField');
{
'submit .js-card-customfield-stringtemplate'(event) {
event.preventDefault();
const items = this.getItems();
const items = this.stringtemplateItems.get()
this.card.setCustomField(this.customFieldId, items);
},