Skip to content

Commit

Permalink
Fixed #14149 - AutoComplete | Refactor writeValue method
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 21, 2023
1 parent f7f1348 commit e011e6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,8 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr
writeValue(value: any): void {
this.value = value;
this.filled = this.value && this.value.length ? true : false;
this.updateModel(value);
this.modelValue.set(value);
this.updateInputValue();
this.cd.markForCheck();
}

Expand Down

1 comment on commit e011e6a

@vercel
Copy link

@vercel vercel bot commented on e011e6a Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.