Field ordering
See original GitHub issueSupport ordering of fields (meta).
Ordering information should be stored in an attribute. The attribute key could be as such: metaOrder:someAttributeName
. The order should be numeric, 0 and upwards. If a meta item does not have an order attribute, it should be placed at the end of the list in random order (as it falls).
Helpers to get the order should be provided. A helper to reset the order of each item should be provided. Some kind of interface to manage changing the order should be provided. Discuss any ideas here before implementation.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Ordered field - Wikipedia
In mathematics, an ordered field is a field together with a total ordering of its elements that is compatible with the field operations....
Read more >09-16 - Field Ordering Officer and Paying Agent Handbook
This handbook addresses the roles and functions of Soldiers performing as field ordering officers (FOOs) and paying agents. The Army relies on contracts...
Read more >Field order Definition & Meaning - Merriam-Webster
The meaning of FIELD ORDER is a combat order of prescribed form giving instructions for a specific operation.
Read more >Field Order -- from Wolfram MathWorld
The order of a finite field is the number of elements it contains.
Read more >Field Order Definition: 311 Samples | Law Insider
Field Order means a written order that orders minor changes in the Work but which does not involve a change in the Contract...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
FYI
I’m not working on this any more in case anyone else wants to pick it up
Unfortunately I don’t think my JS is far enough along to attempt the PR + I’m currently doing svelte where once I hoped to learn react
Apologies
Also good to note that the
deleteProperty
method should be modified to also delete the order attribute, if it exists. I’m not sure thatsetProperty
needs to set the order, but I could be swayed either way.