Skip to content

fix: #19438 - AutoComplete: selected option is not cleared when force…#19449

Merged
mehmetcetin01140 merged 1 commit into
masterfrom
issue-#19438
Mar 2, 2026
Merged

fix: #19438 - AutoComplete: selected option is not cleared when force…#19449
mehmetcetin01140 merged 1 commit into
masterfrom
issue-#19438

Conversation

@mehmetcetin01140

Copy link
Copy Markdown
Contributor

fixes #19438

@mehmetcetin01140 mehmetcetin01140 merged commit c306ada into master Mar 2, 2026
3 checks passed
@github-actions

github-actions Bot commented Mar 2, 2026

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

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown

AI Code Review

Looks Good

Summary

Fixes AutoComplete component to properly clear the selected value when input is manually cleared with forceSelection enabled. Adds logic to detect when input is cleared and has a model value, then clears that value.

Issue Alignment

Excellent alignment - directly addresses the reported bug where clearing the input text doesn't clear the selected value when forceSelection is true. The fix properly handles the edge case described in the issue.


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

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 component: Selected option is not cleared when forceSelection is set to True

1 participant