Skip to content

[field] Reflect disabled Field.Item state in Field.Label - #4916

Merged
atomiks merged 2 commits into
mui:masterfrom
chuganzy:field-label-item
May 29, 2026
Merged

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

Conversation

@chuganzy

Copy link
Copy Markdown
Contributor

This PR fixes a bug where Field.Item's disabled state was not reflected in Field.Label.

@pkg-pr-new

pkg-pr-new Bot commented May 26, 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@4916
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@4916
    

commit: 014867d

@code-infra-dashboard

code-infra-dashboard Bot commented May 26, 2026 •

Copy link
Copy Markdown

Bundle size

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

Details of bundle changes

Performance

Total duration: 1,155.78 ms -180.95 ms(-13.5%) | Renders: 50 (+0) | Paint: 1,739.80 ms -293.76 ms(-14.4%)

Test Duration Renders
Select open (500 options) 55.39 ms 🔺+9.24 ms(+20.0%) 14 (+0)
Slider mount (300 instances) 140.45 ms ▼-80.13 ms(-36.3%) 3 (+0)
Checkbox mount (500 instances) 61.99 ms ▼-25.08 ms(-28.8%) 1 (+0)
Popover mount (300 instances) 58.48 ms ▼-17.17 ms(-22.7%) 1 (+0)
Dialog mount (300 instances) 43.77 ms ▼-16.27 ms(-27.1%) 1 (+0)

7 tests within noise — details


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

@chuganzy
chuganzy force-pushed the field-label-item branch from f7ac46a to 240bcb7 Compare May 26, 2026 15:10
@atomiks atomiks added type: bug It doesn't behave as expected. component: field Changes related to the field component. labels May 29, 2026
@netlify

netlify Bot commented May 29, 2026

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 014867d
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a19713158a7aa0008bcf47d
😎 Deploy Preview https://deploy-preview-4916--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.

@atomiks atomiks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix @chuganzy

@atomiks
atomiks merged commit 3869e3b into mui:master May 29, 2026
7 of 8 checks passed
@chuganzy
chuganzy deleted the field-label-item branch May 29, 2026 11:12
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. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants