Skip to content

Commit

Permalink
fix(module:tree-select): fix tree select error (#8984)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnochGao authored Jan 20, 2025
1 parent 724627e commit 5d261e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/tree-select/tree-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,9 @@ export class NzTreeSelectComponent extends NzTreeBase implements ControlValueAcc
}

closeDropDown(): void {
this.onTouched();
if (!this.isDestroy) {
this.onTouched();
}
this.nzOpen = false;
this.inputValue = '';
this.isNotFound = false;
Expand Down

0 comments on commit 5d261e4

Please sign in to comment.