How to submit the form by Material UI Dialog using ReactJS?

Posted by Rohit Kumar | Updated on

Want to submit the form by Material UI Dialog using ReactJS? You can put a

inside the Dialog, but you must also put your {actions} inside the form, instead of the actions property. Your Submit action button should have type=”submit” on it (type=”reset” is also supported, and shown below):

Here is JSFiddle demo: https://jsfiddle.net/14dugwp3/6/


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers