Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add form deletion confirmation modal when deleting from form settings #56

Merged
merged 3 commits into from
Mar 8, 2024

Conversation

AmoabaKelvin
Copy link
Contributor

initially when a user clicks on delete, the form is just deleted just like that, making it succeptible to accidental from deletes. in this PR, we add the confirmation modal component to the form settings and also extend the modal component to have an optional callback that can be called after a successful form deletion. callback method when a deletion is successful.

@AmoabaKelvin AmoabaKelvin added the feature A new feature label Mar 7, 2024
@AmoabaKelvin AmoabaKelvin self-assigned this Mar 7, 2024
@ephraimduncan ephraimduncan merged commit 8514809 into main Mar 8, 2024
2 checks passed
@ephraimduncan ephraimduncan deleted the feat/add-form-deletion-confirmation-modal branch June 23, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants