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

STRIPESFF-39: ECS - display Cancel confirmation popup on users edit page with not uniq username #120

Closed
wants to merge 1 commit into from

Conversation

alisher-epam
Copy link

Purpose

The issue arises when a user tries to edit their username but enters a non-unique (already taken) username, then clicks the Cancel button. In this scenario, the Cancel confirmation dialog does not appear as expected.

The reason for this behavior is that submitSucceeded property here is initially set to true, which means the form mistakenly assumes that the submission was successful, even though it wasn’t due to the username conflict. This causes the form to skip the Cancel confirmation prompt.

Approach

Screen.Recording.2024-11-11.at.14.56.53.mp4

@alisher-epam
Copy link
Author

Got access for the repo and created another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant