Angularjs 如何在发送前在developer JSON中设置输入值
我有这样的json数据,我不知道我是否必须设置答案Angularjs 如何在发送前在developer JSON中设置输入值,angularjs,json,forms,validation,schema,Angularjs,Json,Forms,Validation,Schema,我有这样的json数据,我不知道我是否必须设置答案 { "id": 1251, "name": "user_reported_systolic", "description": "This is the first of the 2 numbers displayed on your blood pressure meter", "label": "Systolic", "dataType": "NUMBER", "selectType": "NONE", "disp
{
"id": 1251,
"name": "user_reported_systolic",
"description": "This is the first of the 2 numbers displayed on your blood pressure meter",
"label": "Systolic",
"dataType": "NUMBER",
"selectType": "NONE",
"displayType": "TEXTBOX",
"alwaysToday": true,
"value":
{
"string": "",
"number": "",
"keys": "",
"date": ""
},
"entryDate": "",
"expectedRange": {
"Low":3,
"High": 5
}
}
我创建了输入字段来获取数字,之后我不知道我是否必须将输入值设置为这个JSON,因为一旦输入字段成功,我必须将这个JSON数据发送给开发人员
将来,我需要基于JSON创建动态输入字段,在JSON中再次从input jest存储获取值后,可以是文本区域、收音机、复选框等
在获取字符串存储在字符串中时,如果是数字存储在数字中,如果其单选(或)复选框将密钥和值存储在其中 键和值基于某些计算,因此请与后端开发人员联系
"value":
{
"string": "",
"number": "",
"keys": "",
"date": ""
},