This commit is contained in:
2020-06-30 20:48:26 +00:00
parent 0c3d85271e
commit 3e91727b76
2 changed files with 55 additions and 13 deletions

View File

@@ -81,6 +81,15 @@ export default {
label: { type: String, default: "" }
},
watch: {
ayaType(val,oldVal){
if(val!=oldVal && oldVal!=null){
//change of type so clear out the list
this.searchResults=[];
this.searchEntry=null;
this.lastSelection=null;
this.initialized=false;
}
},
value(val) {
this.fetchValueIfNotPresent();
},