Tabs
Organize complex forms using a standard tab element
Last updated
Was this helpful?
Was this helpful?
// typical v-tab object
// DATA MODE
{
"hint": "You can set the 'max' property to limit number of records",
"label": "Enter Some Contacts (4 max)",
"min": 1,
"max": 4,
"model": "contacts",
"schema": {
"fields": [
{
"inputType": "text",
"label": "First Name",
"model": "nameFirst",
"styleClasses": "col-md-6",
"type": "input"
},
{
"inputType": "text",
"label": "Last Name",
"model": "nameLast",
"styleClasses": "col-md-6",
"type": "input"
},
{
"inputType": "select",
"label": "Street 1",
"model": "street1",
"styleClasses": "col-md-12",
"type": "input"
}
]
},
"styleClasses": "col-md-8",
"tabLabelModel": "nameFirst",
"type": "vtabs"
}