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

Missing data props in FormBuilderProps and error in FormBuilderPostData #317

Open
AnatoliiCubex opened this issue Aug 29, 2024 · 2 comments

Comments

@AnatoliiCubex
Copy link

AnatoliiCubex commented Aug 29, 2024

  1. As shown in example (https://www.npmjs.com/package/react-form-builder2), it is possible to provide pre-built data to form builder, but the data prop is missing in FormBuilderProps
  2. For the FormBuilderPostData, the problem is data that element and childItems fields are incorrect, I just generated a form data from builder, saved it in my const, added FormBuilderPostData type and errors like these
    image
    image
    image
    image
@AnatoliiCubex AnatoliiCubex changed the title Missing data props in FormBuilderProps Missing data props in FormBuilderProps and error in FormBuilderPostData Aug 29, 2024
@Kiho
Copy link
Owner

Kiho commented Sep 1, 2024

Can you try 'Header Text' instead of 'Header'?

@AnatoliiCubex
Copy link
Author

AnatoliiCubex commented Sep 2, 2024

Can you try 'Header Text' instead of 'Header'?

Yes, but then it throws duplicates of this error message
image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants