114 lines
2.8 KiB
JSON
114 lines
2.8 KiB
JSON
[
|
|
{
|
|
"name_en": "first-tab",
|
|
"name_fa": "اولین تب",
|
|
"items": [
|
|
{
|
|
"id": "1",
|
|
"key": "name",
|
|
"label": "نام",
|
|
"type": "text",
|
|
|
|
"required": "1",
|
|
"placeholder":"نام را وارد کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا"
|
|
},
|
|
{
|
|
"id": "2",
|
|
"key": "age",
|
|
"label": "سن",
|
|
|
|
"type": "text",
|
|
"required": "1",
|
|
"placeholder":"سن را وارد کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا"
|
|
},
|
|
{
|
|
"id": "3",
|
|
"key": "description",
|
|
"label": "توضیحات",
|
|
"type": "textarea",
|
|
|
|
"required": "1",
|
|
"placeholder":"توضیحات را وارد کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا"
|
|
},
|
|
{
|
|
"id": "4",
|
|
"key": "degree",
|
|
"label": "مدرک",
|
|
"type": "select",
|
|
|
|
"required": "1",
|
|
"placeholder":"مدرک را انتخاب کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا",
|
|
"multi_select": "0",
|
|
"options": [
|
|
{ "value": "1", "title": "کارشناسی" },
|
|
{ "value": "2", "title": "ارشد" },
|
|
{ "value": "3", "title": "دکتری" }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name_en": "second-tab",
|
|
"name_fa": "دومین تب",
|
|
"items": [
|
|
{
|
|
"id": "1",
|
|
"key": "name",
|
|
"label": "نام",
|
|
"type": "text",
|
|
"required": "1",
|
|
"placeholder":"نام را وارد کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا"
|
|
},
|
|
{
|
|
"id": "2",
|
|
"key": "age",
|
|
"label": "سن",
|
|
"type": "text",
|
|
"required": "1",
|
|
"placeholder":"سن را وارد کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا"
|
|
},
|
|
{
|
|
"id": "3",
|
|
"key": "description",
|
|
"label": "توضیحات",
|
|
"type": "textarea",
|
|
"required": "1",
|
|
"placeholder":"توضیحات را وارد کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا",
|
|
"multi_select": "1"
|
|
|
|
},
|
|
{
|
|
"id": "4",
|
|
|
|
"key": "degree",
|
|
"label": "مدرک",
|
|
"type": "select",
|
|
"required": "1",
|
|
"placeholder":"مدرک را انتخاب کنید",
|
|
"regex": ".{0-7}",
|
|
"validation_error": "متن خطا",
|
|
"multi_select": "0",
|
|
"options": [
|
|
{ "value": "1", "title": "کارشناسی" },
|
|
{ "value": "2", "title": "ارشد" },
|
|
{ "value": "3", "title": "دکتری" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|