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

[Switch] Integrate with FormControlUnstyled #13

Open
michaldudak opened this issue Mar 31, 2022 · 2 comments
Open

[Switch] Integrate with FormControlUnstyled #13

michaldudak opened this issue Mar 31, 2022 · 2 comments
Labels
component: switch This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature

Comments

@michaldudak
Copy link
Member

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

@EduardoSCosta
Copy link

Hi, I'd like to do this issue 😃

@michaldudak
Copy link
Member Author

Hi. It requires #14 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.

@mnajdova mnajdova changed the title [SwitchUnstyled] Integrate with FormControlUnstyled [base][Switch] Integrate with FormControlUnstyled Apr 17, 2023
@michaldudak michaldudak changed the title [base][Switch] Integrate with FormControlUnstyled [Switch][base-ui] Integrate with FormControlUnstyled Aug 18, 2023
@michaldudak michaldudak transferred this issue from mui/material-ui Feb 27, 2024
@michaldudak michaldudak changed the title [Switch][base-ui] Integrate with FormControlUnstyled [Switch] Integrate with FormControlUnstyled Feb 27, 2024
@michaldudak michaldudak added enhancement This is not a bug, nor a new feature component: switch This is the name of the generic UI component, not the React module! labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: switch This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature
Projects
Status: Backlog
Development

No branches or pull requests

2 participants