You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the MUI Material documentation, to customize the radio input, I need to pass the custom component to the "control" property in "FormControlLabel."
Upon reviewing the code, it appears that even when passing this property within "labelProps," it gets overwritten, as shown in the snippet below:
My request would be to add a way (perhaps simply spreading labelProps after the default properties) to allow a custom input component to be added.
Examples 🌈
No response
The text was updated successfully, but these errors were encountered:
Feel free to provide a PR with your proposed changes. As you must have access to error and value state you can't simply provide a component to the control. It would rather be easier to provide the RadioProps and spread these to the <Radio> component
Duplicates
Latest version
Summary 💡
According to the MUI Material documentation, to customize the radio input, I need to pass the custom component to the "control" property in "FormControlLabel."
Upon reviewing the code, it appears that even when passing this property within "labelProps," it gets overwritten, as shown in the snippet below:
My request would be to add a way (perhaps simply spreading labelProps after the default properties) to allow a custom input component to be added.
Examples 🌈
No response
The text was updated successfully, but these errors were encountered: