-
-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels