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

Implementation of FormBuilder give "Cannot read properties of null" #1022

Open
Ludovic1974 opened this issue Oct 23, 2023 · 1 comment
Open
Assignees
Labels

Comments

@Ludovic1974
Copy link

I have a problem with the implementation of FormBuilder.
I have adapted the form builder as indicated in the GIT section described at https://github.com/formio/angular/wiki/Form-Builder and I am getting the following error:

core.mjs:7739 ERROR TypeError: Cannot read properties of null (reading '0')
at new Formio (Formio.js:144:19)
at FormBuilder.setForm (Form.js:185:22)
at new Form (Form.js:99:13)
at FormBuilder._createSuperInternal (FormBuilder.js:35:283)
at new FormBuilder (FormBuilder.js:50:19)
at BuilderComponent.ngOnInit (builder.component.ts:23:18)
at callHook (core.mjs:2551:22)
at callHooks (core.mjs:2520:17)
at executeInitAndCheckHooks (core.mjs:2471:9)
at refreshView (core.mjs:9595:21)

Has anyone else experienced this? How could it be resolved?

@Ludovic1974 Ludovic1974 changed the title [Question] implementation of FormBuilder give "Cannot read properties of null" Implementation of FormBuilder give "Cannot read properties of null" Oct 23, 2023
@MiguiTE
Copy link

MiguiTE commented Oct 23, 2023

Happens to me too

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

No branches or pull requests

3 participants