Using the version 1.0.3 with the order capability I encounter the next bugs:
Given schema: { "type": "object", "order": [ "version", "name" ], "properties": { "name": { "type": "string", "title": "Name title" }, "version": { "type": "number", "title": "Version title" } } }
Will throw this error :
And given this schema { "type": "object", "order": [ [ "version", "name" ] ], "properties": { "name": { "type": "string", "title": "Name title" }, "version": { "type": "number", "title": "Version title" } } }
Will throw this error:
This is because the properties keys are the name of a specific child schema and the order and required arrays are using this keys but inside the BaseComponent you modify the name by assigning the title and the getState function from ObjectComponent will return undefined.
Using the version 1.0.3 with the order capability I encounter the next bugs: Given schema:
![image](https://github.com/dashjoin/json-schema-form/assets/45992275/d56c8f4b-4b89-45dc-b891-8d939288392e)
{ "type": "object", "order": [ "version", "name" ], "properties": { "name": { "type": "string", "title": "Name title" }, "version": { "type": "number", "title": "Version title" } } }
Will throw this error :And given this schema
![image](https://github.com/dashjoin/json-schema-form/assets/45992275/5c692319-c0fe-4d42-b9ae-f0fab5479305)
{ "type": "object", "order": [ [ "version", "name" ] ], "properties": { "name": { "type": "string", "title": "Name title" }, "version": { "type": "number", "title": "Version title" } } }
Will throw this error:This is because the properties keys are the name of a specific child schema and the order and required arrays are using this keys but inside the BaseComponent you modify the name by assigning the title and the getState function from ObjectComponent will return undefined.