Problem/Motivation

When creating a new field, the key is automatically generated below the title. If the user decides to edit the key independently from the title, they can click the "edit" link. This converts the key into an editable field, and also swaps the order of the title and key fields, so that the key is now on top. This can lead to confusion about which field is which. Keeping the order the same would provide greater continuity, and reduce confusion.

Steps to reproduce

  1. Click "Add Element"
  2. Type text into the title field
  3. Click "Edit" next to the key
  4. Notice the order of the key and title are now reversed

Proposed resolution

Retain the original order of the title and key fields, when editing the key.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork webform-3432469

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

Winn created an issue. See original summary.

cilefen’s picture

Issue tags: +Usability

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

jrockowitz’s picture

Status: Active » Needs review

Good catch. I think this is a one-line fix.

  • jrockowitz committed f7ebd094 on 6.2.x
    Issue #3432469: Editing a field's key should not switch the order of key...
jrockowitz’s picture

Status: Needs review » Fixed
jrockowitz’s picture

Status: Fixed » Closed (fixed)

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

rroose’s picture

This issue is still (or again) present in 6.2.3.

My bad. I see it's being fixed in the next release 6.2.4.