如何使用列表输入,每个输入都有一个私有数据列表?

时间:2018-08-31 09:12:51

标签: html5 datalist

假设数据与以下内容相同:

records = [
{
    client: "Japan",
    data: ["region1", "region2", "region3", "region4", "region5"]
},
{
    client: "UK",
    data: ["region1", "region2", "region3", "", ""]
},
{
    client: "Germany",
    data: ["region1", "region2", "region3", "region4", ""]
}]

这是我期望的结果。希望有人帮我!!!

enter image description here

0 个答案:

没有答案