fix bugs and typos

This commit is contained in:
Dennis Eichhorn 2020-03-22 17:05:55 +01:00
parent eedbf3f36d
commit ba4c4e96ab
2 changed files with 6 additions and 1 deletions

View File

@ -304,6 +304,11 @@ export class AdvancedInput
let value = '';
for (let j = 0; j < fieldLength; ++j) {
fields[j].setAttribute(
'data-value',
jsOMS.getArray(fields[j].getAttribute('data-tpl-value'), data)
);
value = jsOMS.getArray(fields[j].getAttribute('data-tpl-value'), data);
uuid += value;
}

View File

@ -19,7 +19,7 @@ import { FormView } from '../../Views/FormView.js';
* data-ui-content = what is the main parent
* data-ui-element = what are the elements to replace
*
* @tood Orange-Management/jsOMS#60
* @todo Orange-Management/jsOMS#60
* On change listener
* Allow to add a on change listener in a form. This should result in automatic submits after changing a form.
* Consider the following cases to submit the form: