formik
formik copied to clipboard
Need an example of Material UI Dialog usage w/ Formik
Feature request
Material UI dialogs are handled differently from regular forms in that they need unusual wrapping with Dialog tags buttons. I've found two much different examples of how it should be done but an official docs technique would be nice to have IMHO...
https://gist.github.com/michieldewilde/d7c5399e445bf8d1965aafe4f3162adb https://tidyelement.com/2022/01/12/building-a-react-modal-with-formik-mui-textfield-and-select/
It's not super obvious which is the best way...