Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useForm is not working as expected. #215

Closed
aylonmuramatsu opened this issue Jan 23, 2024 · 2 comments · Fixed by #216
Closed

useForm is not working as expected. #215

aylonmuramatsu opened this issue Jan 23, 2024 · 2 comments · Fixed by #216
Assignees
Labels
bug Something isn't working

Comments

@aylonmuramatsu
Copy link

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

  1. Install formiz to expo managed app
  2. import & use useForm

Expected behavior

Being able to use formiz without installing an additional module

Screenshots

Screenshot 2024-01-23 at 10 35 08
Screenshot 2024-01-23 at 09 29 30

Smartphone (please complete the following information)

  • Device: iPhone 15 Pro
  • OS: IOS17.2
@yoannfleurydev
Copy link
Member

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants