Skip to content

fix(settings): make ModalVerifySession's input validation work on the first attempt#18856

Merged
MagentaManifold merged 1 commit intomainfrom
FXA-2704
May 13, 2025
Merged

fix(settings): make ModalVerifySession's input validation work on the first attempt#18856
MagentaManifold merged 1 commit intomainfrom
FXA-2704

Conversation

@MagentaManifold
Copy link
Copy Markdown
Contributor

Because

  • “Verify” button becomes enabled while typing letters during the unverified session state (only happens at the first typing attempt)

This pull request

  • makes ModalVerifySession's input validation work on the first attempt

Issue that this pull request solves

Closes: FXA-2704

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

… first try

Because:

* “Verify” button becomes enabled while typing letters during the unverified session state

This commit:

* makes ModalVerifySession's input validation work on the first try

Closes #FXA-2704
@MagentaManifold MagentaManifold requested a review from a team as a code owner May 12, 2025 21:37
Copy link
Copy Markdown
Contributor

@vpomerleau vpomerleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Tested in storybook and working as intended

@MagentaManifold MagentaManifold merged commit 766b486 into main May 13, 2025
19 checks passed
@MagentaManifold MagentaManifold deleted the FXA-2704 branch May 13, 2025 14:51
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.

2 participants