Skip to content

Conversation

@essjay05
Copy link
Contributor

Updates dev-app to include disabled combobox example using the proposed
disabled bindings to aria/combobox.ts.

Screencast
of demo is here.

@essjay05 essjay05 requested a review from a team as a code owner October 22, 2025 16:07
@essjay05 essjay05 requested review from adolgachev and tjshiu and removed request for a team October 22, 2025 16:07
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Oct 22, 2025
@essjay05 essjay05 added the dev-app preview When applied, previews of the dev-app are deployed to Firebase label Oct 22, 2025
@github-actions
Copy link

github-actions bot commented Oct 22, 2025

Deployed dev-app for 116fd72 to: https://ng-dev-previews-comp--pr-angular-components-32152-dev-431sk70x.web.app

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

Comment on lines +151 to +160
[ngCombobox][aria-disabled='true'] {
opacity: 0.5;
pointer-events: none;
cursor: default;
}

[ngCombobox][aria-disabled='true'] input.example-combobox-input {
color: var(--mat-sys-on-surface-variant);
background-color: var(--mat-sys-surface);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Where are these colors coming from? Should they match these ones? https://m3.material.io/components/text-fields/specs

Adds disabled binding to aria combobox.ts to have disabled attribute
be automatically added as aria-disabled on the parent div and disabled
on the input of combobox.
Updates dev-app to add disabled combobox using the proposed
disabled bindings to aria/combobox.ts.
Updates .css file to fix lint errors.
@essjay05 essjay05 force-pushed the aria-disabled-combobox-w-disabled-bindings branch from 021f68a to 116fd72 Compare October 23, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

detected: feature PR contains a feature commit dev-app preview When applied, previews of the dev-app are deployed to Firebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants