Error message does not render on form under email field.

Created on 7 March 2024, 9 months ago

Problem/Motivation

Although the email field is flagged as having an error, the configured error message doesn't appear anywhere on the form in D10.

Steps to reproduce

Set your email domain as disallowed domain.
Attempt to register for a new account with your email address.

Proposed resolution

Change $form_state->setErrorByName('account') to $form_state->setErrorByName('mail').

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States aasarava

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024