-
Notifications
You must be signed in to change notification settings - Fork 5k
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Milestone
Description
Describe the bug
Due to the newly changes on the autocomplete I create a PR https://github.com/primefaces/primeng/pull/18593 which got merged. But the forceSelection now is buggy when minQueryLength is given. I made a mistake by thinking that hide() is the right place to check for inputChange on ForceSelection. But hide get called everytime something prevents it from showing like minQueryLength, which now caused an immediate clear.
I submitted a PR.
Pull Request Link
Reason for not contributing a PR
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
Other Reason
No response
Reproducer
Environment
PrimeNG 21.0.2
Angular version
21
PrimeNG version
v21
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
- Click on Autocomplete with ForceSelection and minQueryLength > 1
- Write something
- Input gets cleared without blurring out
Expected behavior
- Click on Autocomplete with ForceSelection and minQueryLength > 1
- Write something
- Input gets not removed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BugIssue contains a bug related to a specific component. Something about the component is not workingIssue contains a bug related to a specific component. Something about the component is not working
Type
Projects
Status
Done