Skip to content

Commit

Permalink
Fix primefaces#14389: Autocomplete | ForceSelection forces selection
Browse files Browse the repository at this point in the history
  • Loading branch information
kra committed Dec 19, 2023
1 parent 5776ac0 commit 3670cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr

let query = event.target.value;

if (!this.multiple) {
if (!this.multiple && !this.forceSelection) {
this.updateModel(query);
}

Expand Down

0 comments on commit 3670cae

Please sign in to comment.