Default Values Key | Set Values |
---|---|
country | TR |
firstName | Ali |
lastName | Karakoç |
mail@alikarakoc.com | |
developer | true |
A data template that holds which fields will be contained in the form.
controlType
, 'label,textinput,checkbox,dropdown'
order
, 'control order number'
[
{
"controlType": "label",
"order": 1,
"text": "Ülkesi:"
},
{
"key": "country",
"options": [
{
"key": "TR",
"value": "Türkiye"
},
{
"key": "EN",
"value": "İngiltere"
},
{
"key": "RU",
"value": "Rusya"
}
],
"order": 2,
"controlType": "dropdown"
}
]
[
{
"controlType": "label",
"order": 1,
"text": "Adı:"
},
{
"controlType": "textinput",
"key": "firstName",
"required": true,
"order": 2
}
]
[
{
"controlType": "checkbox",
"key": "developer",
"label": "Yazılımcı mı?",
"order":1
}
]
[
{
"controlType": "label",
"text": "Adı:",
"order":1
}
]