Verified Commit 2a3e48db authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix issues with SelectTextField not calling onChange

parent 2416790a
......@@ -123,7 +123,11 @@ class SelectTextField {
// So, we make sure this state change is due to value change and
// not due to focus change.
this.value = value;
this.debouncedSearch(value);
if (this.addNew) {
this.notify();
} else {
this.debouncedSearch(value);
}
}
},
}),
......@@ -163,6 +167,7 @@ class SelectTextField {
onclick: () => {
this.selected = option;
this.showList = false;
this.notify();
},
},
})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment