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

Why can't we pass a defaultValue to formsy mui textfields? #46

Closed
tnrich opened this issue Jan 28, 2016 · 4 comments
Closed

Why can't we pass a defaultValue to formsy mui textfields? #46

tnrich opened this issue Jan 28, 2016 · 4 comments

Comments

@tnrich
Copy link

tnrich commented Jan 28, 2016

No description provided.

@mbrookes
Copy link
Collaborator

You can, but as it says in the README you have to use value instead.

@tnrich
Copy link
Author

tnrich commented Jan 28, 2016

Thanks for the link. I should have made my question a bit clearer.

I was particularly wondering why Formsy-Mui didn't adhere to the MUI defaultValue prop? It seems like value and default value have different connotations.

@mbrookes
Copy link
Collaborator

#21 (comment)

But if you have a better way to handle this, go for it!

@mbrookes
Copy link
Collaborator

Version on master now supports defaultValue. Let me know if it works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants