🐛 Fix issue with selecting variables in Expression Editor

This commit is contained in:
Jan Oberhauser
2021-05-31 12:59:45 -05:00
parent 7a5e69d4e5
commit 8f6344fbd5
2 changed files with 14 additions and 6 deletions

View File

@@ -73,9 +73,15 @@ export default mixins(
};
},
methods: {
valueChanged (value: string) {
valueChanged (value: string, forceUpdate = false) {
this.latestValue = value;
this.callDebounced('updateDisplayValue', 500);
if (forceUpdate === true) {
this.updateDisplayValue();
this.$emit('valueChanged', this.latestValue);
} else {
this.callDebounced('updateDisplayValue', 500);
}
},
updateDisplayValue () {