Fix: use data('id') on textarea
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-10-27 07:38:07 +01:00
parent 12ea8c3cc4
commit 5e1422f684

View File

@ -294,7 +294,7 @@ function editor(root, inputData, options) {
let text = element.val()
$(element).closest('.list-item').removeClass('editor');
store.update(element.attr('data-id'), (value) => {
store.update(element.data('id'), (value) => {
return _.merge(value, {
text: text
})