formik-wizard
formik-wizard copied to clipboard
Set loading indicator for steps views
I have a wizard working just like the example, and I'm trying to find out how to set a loading variable that can be read inside the form views. The idea is to pass a "isLoading" flag to the form, so I can animate the field background and set disable to true.
I'm making my server calls at the index file (the one that instantiates FormikWizard and passes the options to it. Any ideas would be awesome!
You currently have the isSubmitting flag that should attend the exact use case you're describing. Can you try it?