Skip to content

[checkbox group] Fix parent checkbox with custom validate fn - #4912

Merged
atomiks merged 3 commits into
mui:masterfrom
mj12albert:fix-parent-checkbox-field-validate-fn
May 29, 2026
Merged

atomiks merged 3 commits into
mui:masterfrom
mj12albert:fix-parent-checkbox-field-validate-fn

Conversation

@mj12albert

Copy link
Copy Markdown
Member

Fixes #4896

@mj12albert mj12albert added type: bug It doesn't behave as expected. component: checkbox group Changes related to the checkbox group component. labels May 26, 2026
@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@4912
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@4912
    

commit: 27a49b4

@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 ▼-4B(0.00%) ▼-2B(0.00%)

Details of bundle changes

Performance

Total duration: 1,133.57 ms ▼-357.52 ms(-24.0%) | Renders: 50 (+0) | Paint: 1,713.20 ms ▼-522.27 ms(-23.4%)

Test Duration Renders
Tabs mount (200 instances) 216.30 ms ▼-91.01 ms(-29.6%) 4 (+0)
Select mount (200 instances) 119.74 ms ▼-64.12 ms(-34.9%) 3 (+0)
Scroll Area mount (300 instances) 85.16 ms ▼-35.01 ms(-29.1%) 3 (+0)
Checkbox mount (500 instances) 68.35 ms ▼-28.72 ms(-29.6%) 1 (+0)
Mixed surface mount (app-like density) 60.61 ms ▼-27.28 ms(-31.0%) 5 (+0)

…and 3 more (+4 within noise) — details


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

@netlify

netlify Bot commented May 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

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

@mj12albert
mj12albert force-pushed the fix-parent-checkbox-field-validate-fn branch from 332c421 to f058d62 Compare May 26, 2026 14:12
@mj12albert
mj12albert force-pushed the fix-parent-checkbox-field-validate-fn branch from f058d62 to 26f2f51 Compare May 26, 2026 14:14
@mj12albert
mj12albert marked this pull request as ready for review May 26, 2026 14:28
@mj12albert
mj12albert enabled auto-merge (squash) May 27, 2026 12:09
@atomiks
atomiks disabled auto-merge May 29, 2026 11:11
@atomiks
atomiks enabled auto-merge (squash) May 29, 2026 11:11
@atomiks
atomiks disabled auto-merge May 29, 2026 11:11
@atomiks
atomiks merged commit aa8d9d5 into mui:master May 29, 2026
6 checks passed
@mj12albert
mj12albert deleted the fix-parent-checkbox-field-validate-fn branch July 8, 2026 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: checkbox group Changes related to the checkbox group component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CheckboxGroup] Parent checkbox passes a boolean to Field validation

2 participants