question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This is happening with Toggle & Select. Both are returning this error below:

The prop component is marked as required in Field, but its value is undefined

import { TextField, Toggle } from 'redux-form-material-ui';

<Field name="thinCrust" component={Toggle} label="Thin Crust" labelPosition="right" />

“redux-form-material-ui”: “^5.0.0-beta.2”,

“redux-form”: “^7.4.2”,

Any suggestions would be much appreciated!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
morningLemoncommented, Aug 6, 2018

@Asher978,

I attempted to recreate your issue in CodeSandbox (https://codesandbox.io/s/woo83lzy68) . I think your issue may root from “redux-form-material-ui”: “^5.0.0-beta.2”. It was giving me issues so I updated to “redux-form-material-ui”: “^5.0.0-beta.3” as seen in the example.

0reactions
Asher978commented, Aug 6, 2018

That was it. It was the versioning. I didn’t see the version instructions anywhere, perhaps its useful to see them in readme for easier integrations.

Appreciate your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

any ideas or any idea? - WordReference Forums
I use "any idea" when I don't have a clue myself. "Idea" in this context replaces hint, clue, notion, thought. For example, it...
Read more >
What are the differences between any idea and any ... - Quora
They are pretty close in meaning. “Any idea” or “some idea” implies a general concept of something, such as could be used to...
Read more >
any idea or any ideas? - TextRanch
any idea vs any ideas. A complete search of the internet has found these results: any idea is the most popular phrase on...
Read more >
AEE 470: “Do You Have Any Idea?” versus ... - All Ears English
Today get an answer from a listener question about the difference between “some” and “any” and find out how you can close your...
Read more >
Any Ideas?: Tips and Techniques to Help You Think Creatively
Any Ideas ? ... Any Ideas? ... This is a book about how to have ideas and how to nurture them so that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found