Skip to content

Conversation

@adolgachev
Copy link
Contributor

@adolgachev adolgachev commented Jan 27, 2026

Autocomplete examples were actually incorrectly using ngModel to populate the input value, which was colliding with the ngComboboxInput usage of [value} so clearing the query did not work properly.

Updated all the examples to check and clear the value on the ComboboxInput instead.

Also added clarifying comments in the Combox behavior logic which checks for an active item, then drops it, but then checks again when selecting.

@adolgachev adolgachev marked this pull request as ready for review January 29, 2026 19:17
@pullapprove pullapprove bot requested review from mmalerba and tjshiu January 29, 2026 19:17
@adolgachev adolgachev added Accessibility This issue is related to accessibility (a11y) target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer action: presubmit The PR is in need of a google3 presubmit dev-app preview When applied, previews of the dev-app are deployed to Firebase labels Jan 29, 2026
@github-actions
Copy link

github-actions bot commented Jan 29, 2026

Deployed dev-app for a8d39f8 to: https://ng-dev-previews-comp--pr-angular-components-32714-dev-3240cirt.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

Copy link
Contributor

@tjshiu tjshiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chatted about it - might need some more investigation time. Seems to work inconsistently.

@adolgachev adolgachev changed the title fix(aria/combobox): fix selection via keyboard by passing proper item fix(aria/combobox): fix autocomplete examples and add comments explaining combobox selection behavior Feb 5, 2026
@mmalerba mmalerba removed their request for review February 5, 2026 18:43
@pullapprove pullapprove bot requested a review from wagnermaciel February 5, 2026 18:43
@adolgachev adolgachev requested review from ok7sai and tjshiu and removed request for wagnermaciel February 5, 2026 18:57
@adolgachev adolgachev removed the action: presubmit The PR is in need of a google3 presubmit label Feb 10, 2026
Copy link
Contributor

@tjshiu tjshiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@adolgachev adolgachev removed the request for review from ok7sai February 11, 2026 21:38
@adolgachev adolgachev added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 11, 2026
@adolgachev adolgachev merged commit c57e6a1 into angular:main Feb 11, 2026
25 of 27 checks passed
@adolgachev
Copy link
Contributor Author

This PR was merged into the repository. The changes were merged into the following branches:

adolgachev added a commit that referenced this pull request Feb 11, 2026
…ning combobox selection behavior (#32714)

(cherry picked from commit c57e6a1)
@adolgachev adolgachev deleted the aria-combobox-nav branch February 11, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accessibility This issue is related to accessibility (a11y) action: merge The PR is ready for merge by the caretaker dev-app preview When applied, previews of the dev-app are deployed to Firebase target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants