简体   繁体   English

关于角形的几个问题

[英]Few questions about angular-formly

I am looking for a library for form building based on provided model, so we are looking at formly:) I took a glance into the examples and video on formly web site, but there are still some questions without an answer. 我正在寻找一个基于提供的模型来构建表单的库,因此我们正在正式研究:)我浏览了正式网站上的示例和视频,但是仍然有一些问题没有答案。

-There are a lot of examples of viewing/editing single entity via formly. -有很多通过形式查看/编辑单个实体的示例。 I am interested in some example of viewing/editing collection of entities via formly (being displayed eg as a table). 我对通过形式(例如显示为表格)查看/编辑实体集合的一些示例感兴趣。 Each field of table should have it's own type. 表的每个字段都应具有自己的类型。

-Editing single entity is cool. -编辑单个实体很酷。 But what if editing one entity requires creation of the other entity. 但是如果要编辑一个实体又需要创建另一个实体该怎么办。 Eg what if you create "User" entity, and you need to create/choose existing "Bank Account" entity to link with User? 例如,如果您创建“用户”实体,并且需要创建/选择现有的“银行帐户”实体以与用户链接怎么办? What is the best way to do such a thing? 做这种事情的最好方法是什么?

-Are there any examples of client + server applications using formly? -是否有正式使用客户端+服务器应用程序的示例? (eg, we get forms from server side?). (例如,我们从服务器端获取表单吗?)。 Maybe, some attributes (annotations) to classes, fields for automatic formly objects generation? 也许是类,字段的一些属性(注释),用于自动正式生成对象?

You can do all the things your talking about with formly. 您可以正式处理您谈论的所有事情。 If you need help with something specific, follow the instructions at http://help.angular-formly.com 如果您需要某些特定方面的帮助,请按照http://help.angular-formly.com上的说明进行操作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM