An Angular package that can generate form components dynamically from a JSON input.
First, install the package using npm:
npm install ks-dynamic-forms --save
Second, copy assets files from node_modules to src/assets folder
copy ./node_modules/ks-dynamic-forms/assetes/* ./src/assetes
<ks-publisher-dynamic
[configList]="nsCustomConfigList">
</ks-publisher-dynamic>
Generates Form components from JSON input,
<ks-btn-custom-field></ks-btn-custom-field>
Adds a button to add new Form component
<ks-dynamic-form
#customParamForm="ksDynamicForm"
[showActionButtons]="false"
[configList]="nsCustomConfigList">
</ks-dynamic-form>
Presents a UI to create/edit/delete Form components. And also displays the corresponding JSON.
Detail example is available at the Github Repo:
https://bitbucket.it.keysight.com/scm/nsvc/dynamic-form.git