Alpha
Create, modify and view your forms with Json.
Recommended way to install ng-form-manager is through npm package manager using the following command:
npm i ng-form-manager --save
Or through yarn
yarn add ng-form-manager
-
Install as shown in the above section.
-
Import
formManagerModule
into the module that declares the component using ng-form-manager:
import { formManagerModule } from 'ng-form-manager';
- Add it to
[imports]
under@NgModule
:
imports: [ ... formManagerModule, ... ]
- Add Bootstrap CDN css on your
index.html
file: Currently support only Bootstrap CSS for form components.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.2.1/css/bootstrap.css" />
Demo application: Demo