[Slider] Missing name property?
See original GitHub issue- This is not a v0.x issue.
- This is a Labs issue.
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
As with other grouped form controls (e.g. RadioGroup
as in the example), a library like Formik should be able to manage the form control state.
Current Behavior
Formik throws an error stating that it could not update the form control value because there was no name
provided:
Warning: Formik called `handleChange`, but you forgot to pass an `id` or `name` attribute to your input:
<span class="MuiToggleButton-label-1289">2</span>
Formik cannot determine which value to update. For more info see https://github.com/jaredpalmer/formik#handlechange-e-reactchangeeventany--void
Steps to Reproduce
Link: https://codesandbox.io/s/yv5706y30x
- Create a
ToggleButtonGroup
orSlider
with state managed viaFormik
- Attempt to select one of the options
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
[Slider] Missing name property? · Issue #13485 · mui/material-ui
This is not a v0.x issue. This is a Labs issue. I have searched the issues of this repository and believe that this...
Read more >Slider control Value property missing
I am trying to reset the Slider control Value but cannot due to its property missing.
Read more >Compilation error due to missing property on JSX element
If I follow your edit then the compiler complains that SliderProps is defined twice and that he cannot find the name Slider ....
Read more >Wrong names under layer's Master Properties group (Slider ...
Unfortunately, this is a bug introduced in After Effects 17.1.4 happening to any property added via Essential Graphics panel.
Read more >Why does my slider properties go missing when switching ...
My slider properties are missing when i switch scene from the main menu. Why does that happen ? Here's my code on the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@valeedmalik There is no fix coming, it has to be handled userland.
@suliskh Not I’m aware of, you are free to go.