material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[SwitchUnstyled] Integrate with FormControlUnstyled

Open michaldudak opened this issue 3 years ago • 2 comments

Make SwitchUnstyled aware of the FormControlUnstyled context, similarly to how Material UI's Switch interacts with FormControl.

michaldudak avatar Mar 31 '22 09:03 michaldudak

Hi, I'd like to do this issue :smiley:

EduardoSCosta avatar Sep 21 '22 12:09 EduardoSCosta

Hi. It requires #34414 to be completed first (or adding a second parameter, newValue, to all inputs' onChange events), so that FormControlUnstyled is able is figure out the new value after it changes.

michaldudak avatar Sep 21 '22 14:09 michaldudak