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

Example for 'Third Party Components' does not use Material ui Button and does not work when using Button #35

Closed
kavink opened this issue Dec 5, 2017 · 4 comments

Comments

@kavink
Copy link

kavink commented Dec 5, 2017

Bug report

What is the current behavior?

Upgraded Material ui to 1.0 Beta and sing material UI button element, Does not call the function onClick.

How do I make final form with 3rd party component like Material UI ?

What is the expected behavior?

on Button click it should show the form json

Sandbox Link

https://codesandbox.io/s/wn5v2q3lj7

What's your environment?

Material ui 1.0 beta

@kavink kavink changed the title Example for 'Third Party Components' does not use Material ui Button Example for 'Third Party Components' does not use Material ui Button and does not work when using Button Dec 5, 2017
@kavink
Copy link
Author

kavink commented Dec 5, 2017

figured it out, and to just make onClick={handleSubmit} instead of onSubmit at form level. updated the Sandbox

@kavink kavink closed this as completed Dec 5, 2017
@kavink
Copy link
Author

kavink commented Dec 5, 2017

@erikras Just wanted to confirm, is this the right way to fix the issue ?

@erikras
Copy link
Member

erikras commented Dec 13, 2017

That's fine. 👍

@lock
Copy link

lock bot commented Dec 13, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants