[FIX] web: properly notify field chain change on shortening
Before this commit, when opening a field chain with a field selector and only removing parts of it and closing, the field selector was not notifying the change.
This commit is contained in:
@@ -155,6 +155,7 @@ var ModelFieldSelector = Widget.extend({
|
||||
},
|
||||
/// The removeChainNode method removes the last field name at the end of the current field chain.
|
||||
removeChainNode: function () {
|
||||
this.dirty = true;
|
||||
this.setChain(this.chain.substring(0, this.chain.lastIndexOf(".")));
|
||||
},
|
||||
/// The validate method toggles the valid status of the widget and display the error message if it
|
||||
|
||||
Reference in New Issue
Block a user