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
In our project we have the form inside the dialog and a potentially long-running API call that is made upon clicking the “ok” button and we need to prevent the user from closing the modal while the API call is still pending. Currently there is no way to disable close (X) button while the API is still in flight.
According to our design the modal should be closable, so I cannot use closable={false}.
I propose to add an additional prop closeBtnIsDisabled that will allow user to disable the close button.
Let me know if you accept such PR.
The text was updated successfully, but these errors were encountered:
In our project we have the form inside the dialog and a potentially long-running API call that is made upon clicking the “ok” button and we need to prevent the user from closing the modal while the API call is still pending. Currently there is no way to disable close (X) button while the API is still in flight.
According to our design the modal should be closable, so I cannot use
closable={false}
.I propose to add an additional prop
closeBtnIsDisabled
that will allow user to disable the close button.Let me know if you accept such PR.
The text was updated successfully, but these errors were encountered: