Skip to content

chore: do not select a disabled option - #36418

Merged
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:fix-disabled-options
Jun 24, 2025
Merged

chore: do not select a disabled option#36418
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
dgozman:fix-disabled-options

Conversation

@dgozman

Copy link
Copy Markdown
Collaborator

Also, disabled optgroup should make all options disabled.

Fixes #36376.

Also, disabled optgroup should make all options disabled.
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

5 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:986:7 › cli codegen › should not throw csp directive violation errors @firefox-ubuntu-22.04-node18
⚠️ [firefox-page] › page/page-wait-for-function.spec.ts:104:3 › should work with strict CSP policy @firefox-ubuntu-22.04-node18
⚠️ [chromium] › headerView.spec.tsx:46:1 › should toggle filters @web-components-html-reporter
⚠️ [webkit-page] › page/page-screenshot.spec.ts:345:5 › page screenshot › should work while navigating @webkit-ubuntu-22.04-node18
⚠️ [playwright-test] › ui-mode-test-watch.spec.ts:145:5 › should watch all @windows-latest-node18-1

39467 passed, 823 skipped
✔️✔️✔️

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: selectOption will select disabled option elements and option elements nested in a disabled optgroup.

2 participants