gaig-form-controls
v0.0.32
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.0.0.
Downloads
15
Keywords
Readme
GaigFormControls
This library was generated with Angular CLI version 15.0.0.
This library contains reusable form control components for use in GAIG websites and forms.
Included Controls
- Checkboxes
- Input
- Text Input
- Number Input
- Text Area
- Radio
- Select
Simple Usage Example
Import the "GaigFormControlsModule" into the module you are building your form in. Setup your form group in your .TS file then in your HTML file setup the reusable form controls like in the example below. Use content projection to pass in question and tooltip text.
<gaig-custom-radio formControlName="releaseSigned" [sectionIdentifier]="ruleConstants.releaseSigned">
<div questionText>Was a release signed?</div>
<div tooltip>Was a release signed?</div>
</gaig-custom-radio>