formik-wizard icon indicating copy to clipboard operation
formik-wizard copied to clipboard

Set loading indicator for steps views

Open Darksoulsong opened this issue 5 years ago • 1 comments

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!

Darksoulsong avatar Jun 22 '20 18:06 Darksoulsong

You currently have the isSubmitting flag that should attend the exact use case you're describing. Can you try it?

zaguiini avatar Jul 03 '20 23:07 zaguiini