Search code examples
javascriptangularjsangular-formly

Few questions about angular-formly


I am looking for a library for form building based on provided model, so we are looking at formly:) I took a glance into the examples and video on formly web site, but there are still some questions without an answer.

-There are a lot of examples of viewing/editing single entity via formly. I am interested in some example of viewing/editing collection of entities via formly (being displayed e.g. as a table). Each field of table should have it's own type.

-Editing single entity is cool. But what if editing one entity requires creation of the other entity. E.g. what if you create "User" entity, and you need to create/choose existing "Bank Account" entity to link with User? What is the best way to do such a thing?

-Are there any examples of client + server applications using formly? (e.g, we get forms from server side?). Maybe, some attributes (annotations) to classes, fields for automatic formly objects generation?


Solution

  • You can do all the things your talking about with formly. If you need help with something specific, follow the instructions at http://help.angular-formly.com