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

Guideline for AgGrid wrapper without formly-field component, model not properly updated #3890

Open
alexis-landrieu-avanade opened this issue Apr 3, 2024 · 0 comments
Labels

Comments

@alexis-landrieu-avanade
Copy link

Question

We have a lot of custom CellRenderer and we won't be able to use formly-field component. We have created a custom wrapper for AgGrid (like provided example: https://formly.dev/docs/examples/advanced/grid-integration/) and we are using FieldArrayType to update the model. But the model is not properly updated. May you please provide the right way to update the model properly.

In the provided example, we are using native AgGrid cell renderer, when updating stockIdentifier you can press submit button to see both the model and form value in the console.

Minimal Reproduction

https://stackblitz.com/edit/angular-7zyh3v?file=src%2Fapp%2Fgrid.type.ts

Your Environment

  • Angular version: 14.3.0
  • Formly version: 6.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant