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
When a form block is used to display various fields coming from an injected schema (not static data), the form block display only the first field. To display all the fields, the form block needs to be updated (i.e. by clicking the "Update" button)
This bug occur when a schema is saved to a context and then used in the form with a context reference.
It might be a problem with schema injection or with the context. Further investigation is needed.
main.df743c2a398a6134.js:1 TypeError: i.setControl is not a function
at main.df743c2a398a6134.js:1:658307
at ph (main.df743c2a398a6134.js:1:658837)
at Lu (main.df743c2a398a6134.js:1:658282)
at nx.addFormControl (main.df743c2a398a6134.js:1:687996)
at nx.onPopulate (main.df743c2a398a6134.js:1:687464)
at main.df743c2a398a6134.js:1:656002
at Array.forEach (<anonymous>)
at Ad._buildForm (main.df743c2a398a6134.js:1:655975)
at main.df743c2a398a6134.js:1:656060
at Array.forEach (<anonymous>)
Problem
When a form block is used to display various fields coming from an injected schema (not static data), the form block display only the first field. To display all the fields, the form block needs to be updated (i.e. by clicking the "Update" button)
This bug occur when a schema is saved to a context and then used in the form with a context reference.
It might be a problem with schema injection or with the context. Further investigation is needed.
Example
Here is an example where schema/context injection not working properly: https://app.kendra.io/form/formTestBug
Error
An error is logged in the flow:
These lines of code might be relevant:
kendraio-app/src/app/blocks/form-block/form-block.component.ts
Line 98 in 129c3a8
The text was updated successfully, but these errors were encountered: