Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Aug 20, 2025

Fix disabled combobox item. ComboboxItem now checks if it contains disabled input to update its appearance.

ComboboxItem do
  ComboboxRadio(name: "fruit", disabled: true)
end

ComboboxItem do
  ComboboxCheckbox(name: "fruit", disabled: true)
end
Screenshot 2025-08-20 at 11 50 37

@ghost ghost requested review from cirdes and stephannv as code owners August 20, 2025 14:53
Copy link
Collaborator

@cirdes cirdes left a comment

Choose a reason for hiding this comment

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

@stephannLKN , It would be great if aria-disabled also had this behavior.

@cirdes cirdes merged commit 1978ce9 into ruby-ui:main Aug 20, 2025
2 checks passed
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.

1 participant