Skip to content

Conversation

@maltheism
Copy link
Member

@maltheism maltheism commented Dec 9, 2021

Brief summary of changes

Updates the email component to use the pattern property for the email input. Also using the type property for the message to displayed to the user when email isn't matching the pattern property. See here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email

edit: I added frontend logic for if by any chance the php validation finds an error not caught by the frontend and so the user will get a notification that email is invalid.

Testing instructions (if applicable)

  1. Checkout PR
  2. Attempt request account with bad email ex. "bad@email"
  3. User should not be able to use bad email.

Link(s) to related issue(s)

@maltheism maltheism added Category: Bug PR or issue that aims to report or fix a bug 24.0.0-bugs Issues or bug fix PRs that were raised during the testing of release 24.0.0 labels Dec 9, 2021
@maltheism maltheism added the State: Needs work PR awaiting additional work by the author to proceed label Dec 9, 2021
@maltheism maltheism removed the State: Needs work PR awaiting additional work by the author to proceed label Dec 9, 2021
Copy link
Collaborator

@cmadjar cmadjar left a comment

Choose a reason for hiding this comment

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

Works great 👍

@cmadjar cmadjar changed the base branch from main to 24.0-release March 16, 2022 15:05
@cmadjar cmadjar added the Passed manual tests PR has been successfully tested by at least one peer label Mar 16, 2022
@driusan driusan merged commit 15ebec5 into aces:24.0-release Mar 17, 2022
@ridz1208 ridz1208 added this to the 24.0.0 milestone Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

24.0.0-bugs Issues or bug fix PRs that were raised during the testing of release 24.0.0 Category: Bug PR or issue that aims to report or fix a bug Passed manual tests PR has been successfully tested by at least one peer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Login] Request account with bad email UI seems to work

4 participants