{"repo":"cloudnc/ngx-sub-form","free":true,"listed":false,"github":"https://github.com/cloudnc/ngx-sub-form","clone":"git clone https://github.com/cloudnc/ngx-sub-form.git","description":"Utility library for breaking down an Angular form into multiple components","language":"TypeScript","stars":317,"topics":["angular","angular-forms","angular-reactive-forms"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"NgxSubForm Utility library to improve the robustness of your Angular forms. Whether you have simple and tiny forms or huge and complex ones, ngx-sub-form will help you build a solid base for them. - ✅ Simple API: No angular module to setup, no ControlValueAccessor by hand, no inheritance, no boilerplate. Only one function to create all your forms! - 🤖 Adds type safety to your forms - ✂️ Lets you break down huge forms into smaller ones for simplicity and reusability Please note one thing: If your goal is to generate forms dynamically (based on some JSON configuration for example) ngx-sub-form is not here for that! Table of contents - Basic API usage - Setup - Migration guide to the new API - Principles - Root forms - Sub forms - Remap - Dealing with arrays - Contribution - Tell us about your experience with ngx-sub-form Basic API usage As a picture is often worth a 1000 words, let's take a quick overlook at the API before explaining in details further on: Setup ngx-sub-form is available on NPM: Note about the versions: @angular version ngx-sub-form version -------------------- ---------------------------------------------------- v Required ✅ ❌ When this observable emits true , the whole form (including the root form and all the sub forms) will be disabled input$ Observable Required ✅ ❌ A root form is a component in between the parent passing raw data and the form itself. This property is an observable that you must provide which will be used behind the scenes to update for yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudnc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudnc/ngx-sub-form/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}