Open
Description
Hello,
in #50 I saw a similar problem to the one I have.
If I try to use the same schema, but with "type": "integer" instead of "type":"number", I get the error following error:
Error: yupSchema.integer is not a function
This is reproducable in your playground.
Here is the 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": "integer"
}
},
"required": [],
"x-jsf-order": [
"AccountType"
]
}