We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9140c6 commit d92c4b8Copy full SHA for d92c4b8
resources/assets/component.js
@@ -1006,12 +1006,14 @@ window.ComponentLine = class {
1006
1007
makeTd(td, settings, value, column) {
1008
let input;
1009
- let input_change = function() {
+ let DATA = this.DATA;
1010
+ let DATA_INPUT = this.DATA_INPUT;
1011
+ let input_change = function input_change() {
1012
let key = input.parentNode.parentNode.getAttribute('data-key');
1013
let column = input.getAttribute('data-column');
- if (this.DATA[key]) {
- this.DATA[key][column] = input.value;
1014
- this.DATA_INPUT.value = JSON.stringify(this.DATA);
+ if (DATA[key]) {
1015
+ DATA[key][column] = input.value;
1016
+ DATA_INPUT.value = JSON.stringify(DATA);
1017
}
1018
};
1019
switch (settings.type) {
0 commit comments