Skip to content

[numberfield] Fix button disabled state only including root disabled state #2268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mj12albert
Copy link
Member

Fixes #2261

Copy link

pkg-pr-new bot commented Jul 7, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@base-ui-components/react@2268

commit: 204dae1

@@ -2,6 +2,12 @@
"name": "NumberFieldInput",
"description": "The native input control in the number field.\nRenders an `<input>` element.",
"props": {
"aria-roledescription": {
Copy link
Member Author

Choose a reason for hiding this comment

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

To document i18n-able strings #2245 (comment)

@mui-bot
Copy link

mui-bot commented Jul 7, 2025

Bundle size report

Bundle Parsed Size Gzip Size
@base-ui-components/react 🔺+86B(+0.03%) 🔺+14B(+0.01%)

Details of bundle changes

Generated by 🚫 dangerJS against 204dae1

Copy link

netlify bot commented Jul 7, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 204dae1
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/686b664b0b7fbe00089944b9
😎 Deploy Preview https://deploy-preview-2268--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Successfully merging this pull request may close these issues.

[number field] NumberField.Decrement and NumberField.Increment disabled state is false when the button itself is disabled but NumberField.Root is not
2 participants