You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After clicking the save button I was expecting the button to show indeterminate progress and be disabled from subsequent clicks until the onSubmit function execution completes.
What happened instead:
Button remains active while onSubmit function is executing and no indeterminate progress is shown on the button
Steps to reproduce:
Simplest way to see the issue is to make a onSubmit function that takes a bit of time to execute.
What you were expecting:
After clicking the save button I was expecting the button to show indeterminate progress and be disabled from subsequent clicks until the onSubmit function execution completes.
What happened instead:
Button remains active while onSubmit function is executing and no indeterminate progress is shown on the button
Steps to reproduce:
Simplest way to see the issue is to make a onSubmit function that takes a bit of time to execute.
Related code:
CodeSandbox of issue using master
CodeSandbox working properly in v3.x
Other information:
Demo of working as expected in v3.x
Demo of incorrect behavior in v4.x
Environment
The text was updated successfully, but these errors were encountered: