Angular Form generation base on Angular , dynamic template support ng-zorro-antd/BootStrap UI (基于ng8的 json schema 表单生成器,提供生成组件源码,可对生成的表单代码进行编辑)
ngx-form-builder is an Angular library that allows for dynamic form generation based on JSON schema. It supports various UI frameworks such as ng-zorro-antd and Bootstrap. The library also includes features such as ngModel auto-binding, template code editing on StackBlitz, and integration with Yapi interface.
To install ngx-form-builder, follow these steps:
Run the following command in your Angular project root directory:
npm install ngx-form-builder
Import the FormBuilderModule into your Angular module:
import { FormBuilderModule } from 'ngx-form-builder';
@NgModule({
imports: [
// ...
FormBuilderModule
],
// ...
})
export class AppModule { }
ngx-form-builder is an Angular library that provides dynamic form generation based on JSON schema. It offers various features such as support for different UI frameworks, template code editing on StackBlitz, and integration with Yapi interface. The library is well-documented and actively maintained. However, there are a few planned features that are still under development, such as drag and drop functionality and form validation support. Overall, ngx-form-builder is a useful tool for easily generating and managing forms in Angular applications.