Problem/Motivation
Unable to increase weight for steps on 'admin/config/workflow/forms_steps/edit/' past 10 due to the weight field dropdown. The default weight threshold is -10 to 10, and can be increased past the 10 threshold when adding new steps, but steps can also be reverted to a max weight of 10 when changing weights or moving steps.
The increase in threshold is needed due to how the forms_steps module gets the next step. If I have more than one step that has a weight of e.g. 10 then the next step will get stuck on the closest step with the weight of 10.
Proposed resolution
Update the weight field to a textfield instead of a weight field. Patch attached.
Remaining tasks
Testing
User interface changes
Update weight field form a weight field type to a textfield.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3138588-4.patch | 856 bytes | nicoloye |
| #2 | 3138588-1.patch | 664 bytes | themic8 |
Comments
Comment #2
themic8 commentedPatch attached.
Comment #3
themic8 commentedComment #4
nicoloye commentedThanks for your issue and patch, may I suggest an alternative that preserve the drag n drop interface.
Comment #5
sehmann commentedRelated issue is that neither the drag and drop nor the editing of weight values affects the ordering of the Progress Steps. I had 3 steps and then added a fourth one which I want at the 3rd position. It works in the Step section but not in the Progress Bar section. Should I file a separate issue for this?
Version: 8.x-1.4
Comment #6
nicoloye commented@sehmann this is indeed a different problem, can you please create a new issue for this ?
Comment #7
sehmann commentedI actually missed that issue is a duplicate of an existing issue https://www.drupal.org/project/forms_steps/issues/3095343
Comment #8
nicoloye commentedComment #10
nicoloye commented