Topic: MDB free React Button control do not submit the form

nip90 free asked 6 years ago


Installed MDB free for react using NPM Added CSS and JS to index.html Up to now everything seems to work fine besides being able to submit a form. I used the simplest example and it is not working. If I substitute
<Button color="deep-orange">Sign up</Button>
with <button className="btn btn-deep-orange">Sign up</button> Then it is working fine. Any idea?

nip90 free answered 6 years ago


Found the answer on another question. Add type="submit" as with regular button. I think the documentation should state it.

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags