final-form / react-final-form

🏁 High performance subscription-based form state management for React
https://final-form.org/react
MIT License
7.38k stars 480 forks source link

error using react-final-from with Syncfusion tab component #627

Open amols2614 opened 5 years ago

amols2614 commented 5 years ago

Are you submitting a bug report or a feature request?

bug / error

Sandbox Link

https://stackblitz.com/edit/react-bqmkr4?embed=1&file=index.js

What's your environment?

Hi I want to use react-final-from and tabcomponent inside it

I have multiple tabs and that have form fields so outside of tab component I added react-final-form and inside tab Fields are added but its giving below error

Error in /turbo_modules/react-final-form@6.3.0/dist/react-final-form.cjs.js (277:11) useField must be used inside of a <Form> component

below link of stackblitz for sample https://stackblitz.com/edit/react-bqmkr4?embed=1&file=index.js

Thanks in advance, help will be appreciated

kopax commented 4 years ago

Did you solved it ? I have the same error.

amols2614 commented 4 years ago

Did you solved it ? I have the same error.

No I used multiple forms and while submitting validated all form's and get values of each form and sent to the server