Skip to main content
Version: Next

NgxFormObject

What is ngx-form-object?#

ngx-form-object is an abstraction on top of Angular's reactive forms. It generates a form from given model and automatically handles creation of nested forms, ie. HasOne and HasMany model relationships.

Benefits of using ngx-form-object#

Form (re)creation#

ngx-form-object simplifies form creation and form manipulation. FormObject configuration for a specific model is defined in one place and reused across the application.

Unify model saving#

ngx-form-object provides couple of hooks during the saving proces. Those hooks can be used to ensure that the same procedure is executed each time when saving is executed.