Fixed validation not being executed after `update` in tree mode
This commit is contained in:
parent
e794943e20
commit
73bec80df5
|
@ -222,6 +222,9 @@ treemode.update = function (json) {
|
|||
this.node.update(json);
|
||||
this.onChangeDisabled = false;
|
||||
|
||||
// validate JSON schema
|
||||
this.validate();
|
||||
|
||||
// update search result if any
|
||||
if (this.searchBox && !this.searchBox.isEmpty()) {
|
||||
this.searchBox.forceSearch();
|
||||
|
|
Loading…
Reference in New Issue