Problem/Motivation

If you're familiar with the Drupal multivalue field's, Inline Entity form field's or Paragraph field's UX, then as soon as a new line of valid field values are added to a field, users expect that if you click the node form's Save button on the bottom, the values will be saved.

Steps to reproduce

- open node add or edit form
- fill in required fields
- at the bottom on transitions, click "Schedule a status change"
- set the new state and time for transition but do not click the Save button or cancel link in this new row
- instead click the Save button on the bottom
- open node edit form again and notice that your scheduled transition was not saved because you did not click that little Save button there

Proposed resolution

As soon as a new row is added there, consider saving that data if the state and date setting is valid there. Do not remove anything silently.

Remaining tasks

User interface changes

API changes

Data model changes

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

kaszarobert created an issue. See original summary.

kaszarobert’s picture

Issue summary: View changes
o_timoshchuk’s picture

Assigned: Unassigned » o_timoshchuk

kaszarobert changed the visibility of the branch 3559552-scheduled-transition-is to hidden.

kaszarobert changed the visibility of the branch 3559552-scheduled-transition-is to active.

o_timoshchuk’s picture

Assigned: o_timoshchuk » Unassigned
Status: Active » Needs review

I have updated and tested the fork:
- The merge request was created for the fork.
- Non-English comments were cleaned up.
- The JS code was improved.
- The Tests were updated.

The changes were tested. Now the scheduled transition saves on node save.