Skip to content

Commit e1455b5

Browse files
committed
fix(search): clearSearch doesn't issue change event
1 parent 5aff6a3 commit e1455b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search/search.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class Search implements ControlValueAccessor {
217217
*/
218218
clearSearch(): void {
219219
this.value = "";
220-
this.propagateChange(this.value);
220+
this.emitChangeEvent();
221221
}
222222

223223
/**

0 commit comments

Comments
 (0)