When unique_field_form_validate is made the error message show the field name instead of the field label.

With this patch I recover the field label from the field config and show it in the validation message.

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

p4bl1t0 created an issue. See original summary.

p4bl1t0’s picture

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

AstonVictor’s picture

Status: Active » Fixed

Created and merged a new MR.

Updated the validation.