when I submit a form in $modal(with animation: true), if I click very fast, the form will submit twice.
Because when the promise is done, the disabled is set to false, but the animation is not completed, I can still submit the form if I click very fast.
so, I want to config when to set disable to false.
In this scenorio, I want just when the promise is success, I set the disable to fase.
when I submit a form in $modal(with animation: true), if I click very fast, the form will submit twice. Because when the promise is done, the disabled is set to false, but the animation is not completed, I can still submit the form if I click very fast. so, I want to config when to set disable to false. In this scenorio, I want just when the promise is success, I set the disable to fase.