formgen-react
Version:
Formula generator with JSON for react. UI Fabric controls are used for rendering
41 lines (37 loc) • 1.05 kB
JSON
{
"id": "testform",
"title": "Test",
"rows": [{
"columns": [{
"label_with": 4,
"controls": [{
"id": "datepicker",
"validators": [{
"validator_type": [ "Required" ]
}],
"title": "Datepicker",
"config": {
"onSelectDate": "test",
"firstDayOfWeek": "test",
"formatDate": "test",
"strings": "test",
"focused": "test",
"onFocusChange": "test",
"onHourChange": "test",
"onMinuteChange": "test",
"onTimeChange": "test",
"language": "test",
"time": "test"
},
"value": "2018-03-11T15:30:30.000Z",
"control_type": [ "DateTimePicker" ],
"info": "Info Test",
"label_position": [ "Left"]
},
{
"id": "submit",
"control_type": ["SubmitButton"]
}]
}]
}]
}