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

Angular 13 support #316

Open
UncleSamSwiss opened this issue Mar 24, 2022 · 1 comment
Open

Angular 13 support #316

UncleSamSwiss opened this issue Mar 24, 2022 · 1 comment

Comments

@UncleSamSwiss
Copy link

Currently ajsf only supports Angular 12.
I just started a new application with Angular 13 and wanted to use ajsf.
Now my questions:

  • is anybody successfully using ajsf with Angular 13?
  • what are the plans to release ajsf for Angular 13?
  • are there blocking issues where I could help?
@KapilJeavio
Copy link

KapilJeavio commented Apr 15, 2022

Hi There,
Recently we have migrated our angular app from Angular 9 to Angular 13. Along with that, we upgraded the JSON Schema Form packages @ajsf/core and @ajsf/material to 0.7.0.

Post that I observed a couple of issues and more or less all are similar to one thing and that is the form keeps on firing the onChanges event.

I checked a bit deeper and found something wrong with the model binding with the form, If I remove that binding it works as expected but at the time saving I am unable to get the form data.

Please refer to my form binding as follows:

<json-schema-form #jsfrm [schema]="schema" [form]="form" [(data)]="model" ngDefaultControl
           framework="material-design" [options]="formOptions">

Here, when I remove [(data)]="model" it works and does not call the onChanges infinitely but on submitting, the form group does not have values.

Any help on this will be appreciated. Thank you.

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