Problem/Motivation

On a webform page that has an error on one of the fields in the form, a message "Notice: Undefined index: id in uswds_preprocess_form_element()..."

Steps to reproduce

Trigger an error on a webform.

Proposed resolution

Check that the "id" key is present, and use a fallback if not.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork uswds-3223322

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rromore created an issue. See original summary.

rromore’s picture

Status: Active » Needs review

jrglasgow made their first commit to this issue’s fork.

jrglasgow’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.