Skip to content

Commit

Permalink
Merge pull request #14804 from primefaces/issue-14586
Browse files Browse the repository at this point in the history
Fixed #14586 - Dropdown | filterValue initial value is ignored and bi…
  • Loading branch information
cetincakiroglu authored Feb 14, 2024
2 parents 7528b9d + 0f7f3f2 commit 65bee64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/dropdown/dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV
return this._filterValue();
}
set filterValue(val: string | undefined | null) {
this._filterValue.set(val);
setTimeout(() => {
this._filterValue.set(val);
});
}
/**
* An array of objects to display as the available options.
Expand Down

0 comments on commit 65bee64

Please sign in to comment.