Skip to content
Snippets Groups Projects

Issue #3485903: password_confirm form element #title property is hardcoded

Open Issue #3485903: password_confirm form element #title property is hardcoded
1 unresolved thread
1 unresolved thread

Closes #3485903

If #title is provided in the form element, pass1 does not get an extra title. If #title is not provided, it defaults to "Password" as before.

Merge request reports

Members who can merge are allowed to add commits.
Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
  • The source branch is 326 commits behind the target branch.
  • 1 commit will be added to 11.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
69 69 public static function processPasswordConfirm(&$element, FormStateInterface $form_state, &$complete_form) {
70 70 $element['pass1'] = [
71 71 '#type' => 'password',
72 '#title' => t('Password'),
72 '#title' => empty($element['#title']) ? t('Password') : NULL,
  • added 1 commit

    • 8317072f - Adding custom title for password and confirm password fields

    Compare with previous version

  • Please register or sign in to reply
    Loading