Closed lwolle closed 4 months ago
Thanks for the elaborate explanation! The code sandbox doesn't exist it says, maybe it's private?
codesandbox.io/p/sandbox/still-rain-cxc6w2
Sorry about that. I made it public now.
Found the issue, looking for a fix now.
Description
When I use a form field of type select in the
AutoForm
component, I expect it to be able to provideoptions
, but TypeScript errors with the error message belowTS2353: Object literal may only specify known properties, and options does not exist in type SchemaField
and I expect the provided
defaultValue
to be taken into account in the form result.Link to Reproduction
https://codesandbox.io/p/sandbox/still-rain-cxc6w2
Steps to reproduce
Part 1
ObjectSchema
Part 2
the actual result is
Saas UI Version
2.5.5
Chakra UI Version
2.8.2
Browser
Brave 1.61.104
Operating System
Additional Information
No response