Problem/Motivation
This would improve UX. It's also a blocker to #3425489: use DraggableListBuilder, as using a textfield form element means that the weights are saved as strings instead of ints, and this crashes DraggableListBuilder.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | environment_indicator_weight_field.png | 19.73 KB | tessa bakker |
Issue fork environment_indicator-3425490
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 #4
trackleft2Comment #5
tessa bakkerChange works as expected:
Update hook isn't needed, existing data remains intact.
Comment #8
isholgueras commentedIn addition to the Tess's tests, when it's shown its sorted correctly. The config switcher exported also exports correctly the weight. Thanks for the work!