Problem/Motivation
When adding a field, selecting "Reference" opens a dialog titled "Add field: Reference". Selecting "File upload" opens a dialog titled "Add field: File upload".
Opening either link in a new tab shows the generic title "Add Sub-field". The title gives no indication of which option was selected.
![]() Dialog: Reference |
![]() Dialog: File |
![]() Standalone: Reference (before) |
![]() Standalone: File (before) |
Background
This is a followup to #3386762: Use modals in field creation and field edit flow and #3408326: Make field selection a two-step form.
Proposed resolution
Use the selected field option's label to generate the route title for both the dialog and the standalone page.
Remaining tasks
Review.
User interface changes
The title of the second step shows the option selected in the first step, whether it opens in a dialog or as a standalone page.
![]() Standalone: Reference (after) |
![]() Standalone: File (after) |
Introduced terminology
None.
API changes
None.
Data model changes
None.
Release notes snippet
When you open a field option in a new tab, the Add field page now shows the selected option in its title, just as the dialog does.
| Comment | File | Size | Author |
|---|
Issue fork drupal-3639522
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
Comment #3
pancho