Closed (fixed)
Project:
Name Field
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2023 at 09:27 UTC
Updated:
23 Jul 2025 at 14:59 UTC
Jump to comment: Most recent
The NameWidget has settings. One setting is 'Show the credentials inline'.
The credentials are shown on another line when 'Show the credentials inline' is checked and show inline when unchecked.
Use the name widget, with inline widget layout. Toggle 'Show the credentials inline' to confirm the error.
Change name.module line 397 from
if ($component == 'credentials' && !empty($element['#credentials_inline'])) {
to
if ($component == 'credentials' && empty($element['#credentials_inline'])) {
When the if statement is TRUE name-component-break is add as a css class.
name.inline.css
.name-component-break {
clear: both;
}
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
Comment #4
keshavv commentedI have created the MR as per the proposed solution.
Comment #5
heddnI'm not sure I understand what your are trying to communicate. Can you also update the title to better express the bug?
Comment #8
bluegeek9 commentedComment #9
bluegeek9 commentedComment #12
heddnThanks for the fixes here. Updating the issue title and description helped a lot.