2024-03-18 17:52:16 +03:00
|
|
|
|
{
|
2024-03-20 17:46:58 +03:00
|
|
|
|
"meta": {
|
|
|
|
|
"action": "some",
|
|
|
|
|
"id": "id_form"
|
2024-03-18 17:52:16 +03:00
|
|
|
|
},
|
2024-03-20 17:46:58 +03:00
|
|
|
|
"data": [
|
|
|
|
|
{
|
|
|
|
|
"type": "textInput",
|
|
|
|
|
"name": "email",
|
|
|
|
|
"placeholder": "Email",
|
2024-03-20 18:31:49 +03:00
|
|
|
|
"id": "emailId",
|
2024-03-20 17:46:58 +03:00
|
|
|
|
"label": {
|
2024-04-03 18:25:38 +03:00
|
|
|
|
"title": "Email",
|
|
|
|
|
"for": "emailId",
|
|
|
|
|
"class": "form-label"
|
2024-03-20 17:46:58 +03:00
|
|
|
|
},
|
|
|
|
|
"class": "form-control"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "textInput",
|
|
|
|
|
"name": "phone",
|
|
|
|
|
"placeholder": "Телефон",
|
|
|
|
|
"class": "form-control",
|
|
|
|
|
"style": "color:RED;"
|
|
|
|
|
},
|
2024-03-20 18:31:49 +03:00
|
|
|
|
{
|
|
|
|
|
"type": "select",
|
|
|
|
|
"name": "select_city",
|
|
|
|
|
"class": "form-control",
|
|
|
|
|
"id": "cityId",
|
|
|
|
|
"label": {
|
2024-04-03 18:25:38 +03:00
|
|
|
|
"title": "Выберите город",
|
|
|
|
|
"for": "cityId",
|
|
|
|
|
"class": "form-label"
|
2024-03-20 18:31:49 +03:00
|
|
|
|
},
|
|
|
|
|
"value": 2,
|
2024-04-03 18:25:38 +03:00
|
|
|
|
"options": {
|
|
|
|
|
"1": "Москва",
|
|
|
|
|
"2": "Донецк",
|
|
|
|
|
"3": "Ростов"
|
|
|
|
|
}
|
2024-03-20 18:31:49 +03:00
|
|
|
|
},
|
2024-03-20 17:46:58 +03:00
|
|
|
|
{
|
|
|
|
|
"type": "textArea",
|
|
|
|
|
"name": "description",
|
|
|
|
|
"class": "form-control",
|
|
|
|
|
"placeholder": "Описание"
|
2024-03-20 18:31:49 +03:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "checkbox",
|
|
|
|
|
"name": "agree",
|
|
|
|
|
"class": "",
|
|
|
|
|
"id": "agreeId",
|
|
|
|
|
"label": {
|
2024-04-03 18:25:38 +03:00
|
|
|
|
"title": "Согласен с правилами",
|
|
|
|
|
"for": "agreeId",
|
|
|
|
|
"class": "form-label"
|
2024-03-20 18:31:49 +03:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "button",
|
|
|
|
|
"value": "Проверить",
|
|
|
|
|
"name": "btn",
|
|
|
|
|
"class": "btn btn-primary"
|
2024-03-20 17:46:58 +03:00
|
|
|
|
}
|
|
|
|
|
]
|
2024-04-15 17:46:33 +03:00
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
"meta": {
|
|
|
|
|
"perpage": 3,
|
|
|
|
|
"actions": ["view", "edit", "delete"],
|
|
|
|
|
"fillable": ["description", "phone", "telega", "city"],
|
|
|
|
|
"status" : 1
|
|
|
|
|
},
|
|
|
|
|
"params": {
|
|
|
|
|
"class": "form-control",
|
|
|
|
|
"id": "form"
|
|
|
|
|
}
|
2024-04-03 18:25:38 +03:00
|
|
|
|
}
|