My code: (this.clients is the reference to the client vector)
getItems(ev: any) {
const val = ev.target.value;
if (val == '') {
this.clientes = null;
} else if(val && val.trim() == this.clientes){
this.buscarUsuario(ev);
}
My code: (this.clients is the reference to the client vector)
getItems(ev: any) {
const val = ev.target.value;
if (val == '') {
this.clientes = null;
} else if(val && val.trim() == this.clientes){
this.buscarUsuario(ev);
}