Skip to content
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

[Radio][Joy] Integrate with form control #34277

Merged
merged 7 commits into from Sep 12, 2022

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Sep 11, 2022

Basic label: https://deploy-preview-34277--material-ui.netlify.app/joy-ui/react-radio-button/#label
Complex example: https://deploy-preview-34277--material-ui.netlify.app/joy-ui/react-radio-button/#tiers

I missed the Radio in the previous PR. The implementation is the same as other form controls.

Here is what the composition looks like:

<FormControl>
  <Radio />
  <div>
    <FormLabel>Label</FormLabel>
    <FormHelperText>Description</FormHelperText>
  </div>
</FormControl>

The composition is very useful for building a complex layout with form controls.


@siriwatknp siriwatknp added the package: joy-ui Specific to @mui/joy label Sep 11, 2022
@mui-bot
Copy link

mui-bot commented Sep 11, 2022

Details of bundle changes

@mui/joy: parsed: +0.18% , gzip: +0.20%

Generated by 🚫 dangerJS against dba52fb

@siriwatknp siriwatknp marked this pull request as ready for review September 12, 2022 02:27
@siriwatknp siriwatknp merged commit a2cd245 into mui:master Sep 12, 2022
daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants