动态反应形式与动态场
我的设计屏幕是您可以根据需要添加或删除字段的表单。
每次单击一个按钮时,都会创建一个组件(文本,图像,标题...)。
在引擎盖下,每个组件都会创建此对象:
{
"title_item_lateral": "",
"text_item_lateral": [],
"image_lateral": [
{
"title_image_lateral": "",
"path_image_lateral": ""
}
],
"document_lateral": [],
"links": [
{
"title_link": "",
"link": ""
}
]
}
如何开始创建这个对象?我知道如何创建动态形式,但始终在屏幕上显示所有字段,但我不知道每个按钮仅显示一个不同的字段。
我现在有点松了。 感谢您的光线。
I have design screen that is a form where you can add or delete fields as you wish.
Every time that you click a button you are create a component (text, image, title...).
Under the hood every component create this object:
{
"title_item_lateral": "",
"text_item_lateral": [],
"image_lateral": [
{
"title_image_lateral": "",
"path_image_lateral": ""
}
],
"document_lateral": [],
"links": [
{
"title_link": "",
"link": ""
}
]
}
How can i start to create this? i know how create a dynamic form, but always show in screen all the fields, but showing only one different field for every button, i don't know.
I am a bit loose now.
Thanks for your light in my way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论