You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
generateOptionSchema does not handle an integer type. It is handled as string by default. Also withInteger is added to the validators which finally leads to the error.
When I extend generateOptionSchema by adding
case 'integer':
return yupSchemas.radioOrSelectNumber(optionValues);
and prevent validators.push(withInteger) from being called when the field is a select by adding
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:
This is reproducable in your playground.
Here is the schema:
The text was updated successfully, but these errors were encountered: