Skip to content

Commit

Permalink
fix: cancel works correctly in autocomplete component (#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal authored Feb 16, 2023
1 parent db958a3 commit 53d75d1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,9 @@ export class BasicAutocompleteComponent<O, V = O>
this.inputElement.nativeElement.focus();
}
}

writeValue(val: V[] | V) {
super.writeValue(val);
this.setInitialInputValue();
}
}

0 comments on commit 53d75d1

Please sign in to comment.