iway1 / react-ts-form

https://react-ts-form.com
MIT License
2.01k stars 33 forks source link

issue: Component props not passing down to nested objects #136

Open ehwarren opened 11 months ago

ehwarren commented 11 months ago

Version Number

1.8.2

Codesandbox/Expo snack

https://codesandbox.io/s/jolly-allen-2kpttk?file=/src/App.tsx

Steps to reproduce

Go to the code sandbox above.

You can see that typescript is happy with how the props are specified for nested objects, however, when the component is actually rendered the prop isn't passed to it.

image image

Expected behaviour

Props are passed properly to nested objects.

Relevant log output

No response