You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behaviour
Apparently the list widget is sorting the fields in alphabetical order internally.
Expected behavior
Output the fields the way the user declares them in the config
Changes to the widget (list/object/...)
Widgets should have an explicit sort function when needed.
Changes to the core
The CMS core should be able to accept the sort function from a widget.
If there's no sort function in the widget, the core should just parse the data 'as is'.
Color and then name because it's alphabetical. This is essentially an object and key order should not matter or be relied upon. I don't see us supporting this but feel free to comment if you feel it merits further discussion.
- Do you want to request a feature or report a bug? Not sure
- What is the current behavior?
I have fields setup this way.
I want the name to show up first and then colour, but the output is
First color and then name. Why?
(Example from the github repo)
- What is the expected behavior?
I want the name to show up first and then colour.
- Please mention your versions where applicable.
Netlify CMS version: 2.0.9
Browser version: 68.0.3440.106
- Links
The text was updated successfully, but these errors were encountered: