【发布时间】:2023-03-23 09:25:01
【问题描述】:
我有这样的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",
"displayType": "TEXTBOX",
"alwaysToday": true,
"value":
{
"string": "",
"number": "",
"keys": "",
"date": ""
},
"entryDate": "",
"expectedRange": {
"Low":3,
"High": 5
}
}
我创建了输入字段来获取数字,之后我不知道我是否必须将我的输入值设置为此 JSON,因为一旦输入字段成功,我必须将此 JSON 数据发送给开发人员。
将来我需要创建基于 JSON 的动态输入字段,可能是文本区域、单选框、复选框等
【问题讨论】:
标签: angularjs json forms validation schema