有没有大佬写过 angular 动态表单

2022-08-08 18:04:18 +08:00
 annnnn

angular7 + ng-zorro,根据 json/schema 动态创建 form 表单

2156 次点击
所在节点    Angular
10 条回复
annnnn
2022-08-08 18:09:04 +08:00
表单里有不同类型的数据,比如 input,select ,文件上传,radio
Oktfolio
2022-08-08 19:45:11 +08:00
cslive
2022-08-08 20:42:56 +08:00
去 ng-alain 这个项目看看
annnnn
2022-08-09 09:32:45 +08:00
@cslive 安装运行后包报错了
annnnn
2022-08-09 10:50:02 +08:00
基于 antdesign 动态增减表单项,配合 ngif 实现了我的需求
sjhhjx0122
2022-08-09 16:34:19 +08:00
ng-alain 有 json 表单吧
anonymous2351d00
2022-08-09 18:17:21 +08:00
@delon/form
annnnn
2022-08-10 10:04:39 +08:00
@anonymous2351d00 这个也是安装运行后包报错了
gzf6
2022-08-12 16:22:04 +08:00
nzbin
2022-11-18 11:56:05 +08:00
自己用 angular 原始的 reactive form 实现的,还挺简单的

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/871487

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX