Skip to content

Commit

Permalink
only show warning that an account will be made if the input is valid
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaed Parkar committed Nov 14, 2023
1 parent 7f23ad8 commit 3101bd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</ul>
</div>

<div class="govuk-warning-text" *ngIf="showCreateNewUserWarning">
<div class="govuk-warning-text" *ngIf="showCreateNewUserWarning && isValidEmail">
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
<strong class="govuk-warning-text__text">
<span class="govuk-warning-text__assistive">Warning</span>
Expand Down

0 comments on commit 3101bd0

Please sign in to comment.