Skip to content

fix: #19218 - Autocomplete v21.0.2 with ForceSelection does not work …#19332

Merged
cetincakiroglu merged 1 commit intomasterfrom
issue-19218
Jan 28, 2026
Merged

fix: #19218 - Autocomplete v21.0.2 with ForceSelection does not work …#19332
cetincakiroglu merged 1 commit intomasterfrom
issue-19218

Conversation

@mehmetcetin01140
Copy link
Copy Markdown
Contributor

fixes #19218

@github-actions
Copy link
Copy Markdown

Thank you for your contribution! We will review your PR shortly. Please make sure to manually link it to an issue for proper tracking.

@github-actions
Copy link
Copy Markdown

AI Code Review

Looks Good

Summary

Adds a length check to prevent forceSelection from clearing input when the value length is below minQueryLength/minLength threshold

Issue Alignment

Excellent alignment. The fix directly addresses the reported bug where forceSelection was incorrectly clearing input values shorter than minQueryLength. The solution adds a guard clause to check if input length meets the minimum requirement before proceeding with force selection validation.


This is an automated review. A maintainer will provide final approval.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
primeng-5lp7 Ready Ready Preview, Comment Jan 27, 2026 10:14am

@github-actions
Copy link
Copy Markdown

Thanks a lot for your contribution! But, Unit tests failed. You can check the unit tests with the command 'pnpm run test:unit' and commit the changes.

@cetincakiroglu cetincakiroglu merged commit 9023369 into master Jan 28, 2026
4 of 6 checks passed
@cetincakiroglu cetincakiroglu deleted the issue-19218 branch January 28, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autocomplete v21.0.2 with ForceSelection does not work with minQueryLength

2 participants