ty-angular-reactiveform-input
v1.0.0
Published
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.3.
Downloads
2
Readme
Ty-Angular-ReactiveFormInput
This project was generated with Angular CLI version 9.1.3.
Project Title
Ty-Input is an angular library which help us to generate the input which works for Reactive Form.
Quick Start
- Clone the repo: git clone https://gitlab.com/TY_AbhilashGaniger/tymodules_angular_reactiveforms_input
- Install with npm: npm install ty-input
- Install with yarn: yarn add ty-input
Installation
npm install --save ty-angular-reactiveform-input
Getting Started
Create the Reactive Form in angular, Wherever we need the input through out the form you can use the ty-input tag and pass the below details
- Provide the value for the type attribute based on which type of input you want.
- Provide the value for the name which should be same as control name in your form template.
- Bind the value for FormGroup which is the name of your form.
<ty-input type="text" name="email" id="email" [FormGroup]="form"></ty-input>
Authors
- G M Abhilash