Error message does not render on form under email field.

Created on 7 March 2024, 4 months ago
Updated 30 May 2024, 27 days 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

Fixed

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.69.0 2024