Reputation: 43
Do we have any best examples to create a dynamic forms from the data ? Which input fileds always dynamic. The use case I'm looking for is I have api which is having set of records which always not really consist means today if have 20 record tomrrow may increase upto another 20 ,with this scenario do we have any sort of forks ?
Upvotes: 0
Views: 1285
Reputation: 1020
We use the ngx-formly module for rendering forms using json schema. It is a very vast library with awesome community support and a whole lot of features. You just need to pass your json schema in a specific format and the form will be rendered with all validations.
https://github.com/ngx-formly/ngx-formly GitHub - ngx-formly/ngx-formly: JSON powered / Dynamic forms
Upvotes: 1