Skip to content

fix(cascader): reject selections while disabled - #992

Merged
jaywcjlove merged 1 commit into
uiwjs:masterfrom
Xapollon430:codex/cascader-disabled-popup
Nov 13, 2026
Merged

jaywcjlove merged 1 commit into
uiwjs:masterfrom
Xapollon430:codex/cascader-disabled-popup

Conversation

@Xapollon430

Copy link
Copy Markdown
Contributor

Fixes #990.

Cascader still accepts a new option when its popup was opened before it became disabled. Close the popup and block selections during its exit.

Open the picker, disable it while the popup is open, and try choosing another option. The value should stay unchanged and onChange should stay silent. Re-enable the picker and select normally.

Headless Chromium reproduction

Verified before and after using current component source and native Chromium input.

@jaywcjlove
jaywcjlove merged commit eaa756d into uiwjs:master Nov 13, 2026
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.

Cascader still accepts a selection after being disabled

2 participants