JTBC5.0多行混合字段添加方法

31.多行混合字段(multi)

初次添加/通过向导添加时,填写
[{"name":"title","type":"text"},{"name":"url","type":"text"}]

[{"name":"title","type":"text"},{"name":"url","type":"textarea"}]

直接修改字段配置参考
{"type":"multi","required":false,"has_upload":true,"columns":[{"name":"title","type":"text"},{"name":"url","type":"text"}]}

{"type":"multi","required":false,"has_upload":true,"columns":[{"name":"title","type":"text"},{"name":"url","type":"textarea"}]}

 

32.多行分组混合字段(multi-group)

初次添加/通过向导添加时,填写

[{"name":"group1","columns":[{"name":"title","type":"text"}]},{"name":"group2","columns":[{"name":"title","type":"text"},{"name":"content","type":"textarea"}]}]

直接修改字段配置参考

{"type":"multi-group", "group":[{"name":"group1","columns":[{"name":"title","type":"text"}]},{"name":"group2","columns":[{"name":"title","type":"text"},{"name":"content","type":"textarea"}]}],"required":false}

 

 

其中type字段类型可以自行修改