Out of order properties
See original GitHub issueI have the following configuration, However, I observe that my view the sections are coming in the wrong order. Can you give me any suggestions for a fix.
schema:{
"title": "NGLA Schema",
"type": "object",
"options":{
"disable_collapse": true
},
"properties":{
"project": {
"title": "Project",
"$ref": "#/definitions/project"
},
"sources": {
"title": "Source",
"$ref": "#/definitions/source"
},
"type1": {
"title": "Pattern Recognition",
"$ref": "#/definitions/type1"
},
"type2": {
"title": "Type 2 Parameters",
"$ref": "#/definitions/type2"
},
"type3": {
"title": "Sequence Analysis",
"$ref": "#/definitions/type3"
},
"type4": {
"title": "Volume Analysis",
"$ref": "#/definitions/type4"
},
"type5": {
"title": "Type 5 Analysis",
"$ref": "#/definitions/type5"
},
"type6": {
"title": "Type 6 Parameters",
"$ref": "#/definitions/type6"
},
"type7": {
"title": "Type 7 Analysis",
"$ref": "#/definitions/type7"
},
"type8": {
"title": "Type 8 Analysis",
"$ref": "#/definitions/type8"
},
"type9": {
"title": "Type 9 Analysis",
"$ref": "#/definitions/type9"
}
},
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Does JavaScript guarantee object property order?
As a note, properties order in objects weren't guaranteed at all before ES2015. ... Property order in normal Objects is a complex subject...
Read more >Are JavaScript Object Keys Ordered and Iterable?
Do JavaScript object properties have an intrinsic ordering? Can you iterate over a JavaScript object according to the order of the object keys?...
Read more >164 - Wrong order in Object properties interation - v8 - Monorail
I frequently use objects which I iterate through to print out a list that is sortable. I make the property an ID to...
Read more >Order of Operations - PEMDAS - Math is Fun
Order of Operations PEMDAS. Operations. "Operations" mean things like add, subtract, multiply, divide, squaring, etc. If it isn't a number it is probably...
Read more >order - CSS: Cascading Style Sheets - MDN Web Docs
The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are...
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 FreeTop 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
Top GitHub Comments
Have you tried implementing property ordering?
https://github.com/jdorn/json-editor#property-ordering
having the same issue, I have large schema, don’t wanna use propertyOrder redundantly, since the order is expected to be the same as in schema…