Skip to content

Conversation

@mj12albert
Copy link
Member

Fixes #2762

@mj12albert mj12albert added the component: switch Changes related to the switch component. label Sep 15, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 15, 2025

Open in StackBlitz

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

commit: 81ebebb

@netlify
Copy link

netlify bot commented Sep 15, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 61232ee
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/68c7e77f9dfdcf0008eb224e
😎 Deploy Preview https://deploy-preview-2763--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.

@mui-bot
Copy link

mui-bot commented Sep 15, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react ▼-4B(0.00%) 🔺+24B(+0.02%)

Details of bundle changes

@netlify
Copy link

netlify bot commented Sep 15, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 81ebebb
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/68c8e319baf2ca0008cb6480
😎 Deploy Preview https://deploy-preview-2763--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.

@mj12albert mj12albert marked this pull request as ready for review September 15, 2025 10:28
@mj12albert mj12albert added the type: bug It doesn't behave as expected. label Sep 15, 2025
Copy link
Contributor

@atomiks atomiks left a comment

Choose a reason for hiding this comment

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

Is Checkbox also correct?

@mj12albert
Copy link
Member Author

Is Checkbox also correct?

Yep it's already correct, I copied the test to checkbox anyway ~

@mj12albert mj12albert merged commit 6e51ca5 into mui:master Sep 16, 2025
20 checks passed
@mj12albert mj12albert deleted the fix/switch-name-prop branch September 18, 2025 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[switch] Duplicated hidden input when name is provided

3 participants