Skip to content

[field] Reflect disabled Field.Item state in Field.Description - #4960

Merged
atomiks merged 2 commits into
mui:masterfrom
chuganzy:field-description-item-disabled
Jun 3, 2026
Merged

atomiks merged 2 commits into
mui:masterfrom
chuganzy:field-description-item-disabled

Conversation

@chuganzy

@chuganzy chuganzy commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Related to #4916.

In addition to Field.Label, Field.Description can also be used within Field.Item.

The React Aria RadioGroup pattern is a good example of this:
https://react-aria.adobe.com/RadioGroup

This PR makes Field.Description respect the disabled state from Field.Item as well.

@chuganzy chuganzy changed the title [field] Reflect disabled state in description [field] Reflect disabled Field.Item state in Field.Description Jun 2, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@4960
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@4960
    

commit: 14eb5dc

@code-infra-dashboard

code-infra-dashboard Bot commented Jun 2, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+48B(+0.01%) 🔺+15B(+0.01%)

Details of bundle changes

Performance

Total duration: 1,452.68 ms +106.19 ms(+7.9%) | Renders: 50 (+0) | Paint: 2,164.75 ms +133.34 ms(+6.6%)

Test Duration Renders
Mixed surface mount (app-like density) 103.88 ms 🔺+27.45 ms(+35.9%) 5 (+0)

11 tests within noise — details


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented Jun 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 14eb5dc
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a20931dfeb3840008edd8e2
😎 Deploy Preview https://deploy-preview-4960--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@zannager zannager added the component: field Changes related to the field component. label Jun 3, 2026
@atomiks
atomiks merged commit b71afe9 into mui:master Jun 3, 2026
6 checks passed
@chuganzy
chuganzy deleted the field-description-item-disabled branch June 4, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: field Changes related to the field component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants