useForm is not working as expected.
Closed this issue · 2 comments
aylonmuramatsu commented
Describe the bug
When I use useForm in an Expo managed project, I receive an error related to the 'os' module. I can only use the project correctly when I add the 'os' library to my projects
To Reproduce
- Install formiz to expo managed app
- import & use useForm
Expected behavior
Being able to use formiz without installing an additional module
Screenshots
Smartphone (please complete the following information)
- Device: iPhone 15 Pro
- OS: IOS17.2
yoannfleurydev commented
Thanks a lot for your issue, it is indeed a bug coming from a Formiz peer dependency. I'm looking to replace that dependency.
yoannfleurydev commented
Hey @aylonmuramatsu thanks again for raising this issue. You can upgrade Formiz to 2.2.2
and remove the os
dependency, and it should work. Let us know if there are others issues.