Hey everyone, I’m having some issues when creating a new schema.
I want to set the order in which the properties should appear in the UI but for some reason, is not working.
Payload:
{
"labels": {
"singular": "playstation",
"plural": "playstations"
},
"requiredProperties": [
"name"
],
"searchableProperties": [
"name",
"description"
],
"primaryDisplayProperty": "name",
"secondaryDisplayProperties": [
"description"
],
"properties": [
{
"name": "name",
"label": "Name",
"type": "string",
"fieldType": "text",
"description": "",
"groupName": "playstation_information",
"displayOrder": 1,
"isPrimaryDisplayLabel": true,
"optionSortStrategy": "DISPLAY_ORDER"
},
{
"name": "description",
"label": "Description",
"type": "string",
"fieldType": "text",
"description": "",
"groupName": "playstation_information",
"displayOrder": 2,
"optionSortStrategy": "DISPLAY_ORDER"
},
{
"name": "date",
"label": "Date",
"type": "datetime",
"fieldType": "date",
"description": "",
"groupName": "playstation_information",
"displayOrder": 3,
"optionSortStrategy": "DISPLAY_ORDER"
},
{
"name": "time",
"label": "Time",
"type": "number",
"fieldType": "number",
"description": "",
"groupName": "playstation_information",
"displayOrder": 4,
"optionSortStrategy": "DISPLAY_ORDER"
}
],
"name": "playstation"
}
And the result in HS UI:
The correct order should be:
1. name
2. description
3. date
4. time
Any idea on why the Date field is being displayed first?


