We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
i have this json schema
{ "type": "object", "additionalProperties": false, "properties": { "AccountType": { "title": "Select account type", "description": "", "x-jsf-presentation": { "inputType": "select" }, "oneOf": [ { "title": "Normal User", "const": 0 }, { "title": "Business", "const": 1 }, { "title": "Services Provider", "const": 2 } ], "type": "number" } }, "required": [], "x-jsf-order": [ "AccountType" ] }
and on validation cannot accepts that value must be number and not string as the output field is (it has schema type : string)
{ "type": "select", "name": "AccountType", "label": "Select account type", "options": [ { "label": "Normal User", "value": 0 }, { "label": "Business", "value": 1 }, { "label": "Services Provider", "value": 2 } ], "required": false, "inputType": "select", "jsonType": "number", "computedAttributes": {}, "description": "", "errorMessage": {}, "schema": { "_deps": [], "_conditions": [], "_options": { "abortEarly": true, "recursive": true }, "_exclusive": {}, "_whitelist": { "list": {}, "refs": {} }, "_blacklist": { "list": {}, "refs": {} }, "tests": [], "transforms": [ null, null ], "type": "string", "_type": "string", "_nullable": true }, "scopedJsonSchema": { "type": "object", "additionalProperties": false, "properties": { "AccountType": { "title": "Select account type", "description": "", "x-jsf-presentation": { "inputType": "select" }, "oneOf": [ { "title": "Normal User", "const": 0 }, { "title": "Business", "const": 1 }, { "title": "Services Provider", "const": 2 } ], "type": "number" } }, "required": [], "x-jsf-order": [ "AccountType" ] }, "isVisible": true }
The text was updated successfully, but these errors were encountered:
A happy coincidence! We are running into this issue internally. #49 should solve this.
Sorry, something went wrong.
Closing as it was solved by #49 :)
No branches or pull requests
i have this json schema
and on validation cannot accepts that value must be number and not string
as the output field is (it has schema type : string)
The text was updated successfully, but these errors were encountered: