fix: #19218 - Autocomplete v21.0.2 with ForceSelection does not work …#19332
fix: #19218 - Autocomplete v21.0.2 with ForceSelection does not work …#19332cetincakiroglu merged 1 commit intomasterfrom
Conversation
…with minQueryLength
|
Thank you for your contribution! We will review your PR shortly. Please make sure to manually link it to an issue for proper tracking. |
AI Code ReviewLooks Good SummaryAdds a length check to prevent forceSelection from clearing input when the value length is below minQueryLength/minLength threshold Issue AlignmentExcellent 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. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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. |
fixes #19218