/SunbirdEd-forms

Common form elements for Sunbird-Ed apps

Primary LanguageTypeScriptMIT LicenseMIT

SunbirdEdForms

Contains Form component powered by angular. This component expects a configuration and renders form according to the view.

Getting Started

Step 1: Install the package

npm install common-form-elements --save

Step 2: Include the library selector in view( Eg .HTML file)

<sb-form [config]='config'>

step3: Form component emits values on every input , To get value include event callbacks

<sb-form (valueChanges)="function($event)" (statusChanges)="function($event)" >