You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
After converting a json schema with an array of objects. If you call FormlyFormBuilder.buildForm you cannot call FieldArrayType.add without getting a console error. Form.valid checks for the form will fail and the form controls will also not render on screen.
Additional context
It looks like FormlyFormBuilder.buildForm() changes the FormArray built in the json schema service to a FormControl, which doesn't have the setControl method.
The text was updated successfully, but these errors were encountered:
Description
After converting a json schema with an array of objects. If you call FormlyFormBuilder.buildForm you cannot call FieldArrayType.add without getting a console error. Form.valid checks for the form will fail and the form controls will also not render on screen.
Minimal Reproduction
https://stackblitz.com/edit/ngx-formly-ui-material-aydnff
Your Environment
Additional context
It looks like FormlyFormBuilder.buildForm() changes the FormArray built in the json schema service to a FormControl, which doesn't have the setControl method.
The text was updated successfully, but these errors were encountered: