[{
"customer name": "customerA",
"invoice": [{
"invoicename": "invoice1",
"invoiceid": 123
}, {
"invoicename": "invoice2",
"invoiceid": 123
}]
}, {
"customer name": "customerB",
"invoice": [{
"invoicename": "invoice1",
"invoiceid": 123
}, {
"invoicename": "invoice2",
"invoiceid": 123
}]
}, {
"customer name": "customerC",
"invoice": [{
"invoicename": "invoice1",
"invoiced": 123
}]
}]
我想使用angular1.4创建以下格式的动态表单输入控件以及表单输入验证。
发票对象动态更改(要么有一个或两个发票)
Row1
CustomerA invoicenametextbox invoicenametextbox invoiceidtextbox invoiceidtextbox
Row2
CustomerB invoicenametextbox invoicenametextbox invoiceidtextbox invoiceidtextbox
Row3
CustomerC invoicenametextbox emptyspace invoiceidtextbox emptyspace