Schema
Last updated
Was this helpful?
Was this helpful?
{
groups: [
{
legend: "User Details",
fields: [
{
type: "input",
inputType: "text",
label: "Username",
model: "username"
},
{
type: "input",
inputType: "email",
id: "email",
label: "Email Address",
model: "email"
}
]
},
{
legend: "Preferences",
fields: [
{
type: "select",
label: "Color",
model: "color",
values: [
"Red",
"Green",
"Blue"
]
},
{
type: "input",
inputType: "number",
id: "timeout",
label: "Timeout in Seconds",
model: "timeout"
}
]
}
]
}{
fields: [
{
type: "input",
inputType: "text",
label: "Name",
model: "name"
}
],
groups: [
{
legend: "User Details",
fields: [
{
type: "input",
inputType: "number",
id: "current_age",
label: "Age",
model: "age"
}
]
}
]
}