Standardized custom controls to fire input event instead of changed which is immediate for ui
renamed onChange handler code to better reflect what it does tested all controls on widget form to ensure they update and roundtrip properly and dirty checking is now fired immediately no need to tab off
This commit is contained in:
@@ -149,10 +149,8 @@ export default {
|
||||
return;
|
||||
}
|
||||
if (e.id != null) {
|
||||
//this is required for the control to update
|
||||
//this is required for the control to update and parent form to detect it
|
||||
this.$emit("input", e.id);
|
||||
//this is required for the parent form to trigger the onChange handler
|
||||
this.$emit("change", e.id);
|
||||
}
|
||||
this.lastSelection = e;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user