Skip to content

Cannot add new component in the FormBuilder #605

@corgoss

Description

@corgoss

Describe the bug
I cannot add new components in the FormBuilder if FormBuilder has prop initialProp

To Reproduce
Download https://github.com/formio/react-app-starterkit and add initialForm in the FormBuilder. See screenshot

Image
  1. Go to 'http://localhost/#/components'
  2. Edit Code based on screenshot '....'
  3. Add new component like text field with DnD
  4. See error

Expected behavior
No error and i can add new component to the form

Screenshots
https://jam.dev/c/8c9ac61b-49c0-4852-8718-cc60f8d7c20f

Image

Sandbox Example
https://codesandbox.io/p/github/formio/react-app-starterkit/master

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Version 134

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions