awake-maroonA
Refine2y ago
7 replies
awake-maroon

How to disable the submit button after clicking it, and restore it when submits fails?

Hi, I'm using Ant Design to build a very complicated form. However when I click the submit button (both on edit and create pages), it's very slow. I want to make sure after user clicks save, it can disable the save button to avoid duplicated submissions. Is there any way to do that with Refine?
Was this page helpful?