@if (props.options) { @for (row of props.options; track row; let odd = $odd) { @if (row?.props) { {{ row.props?.title }} @for (col of row.fieldGroup; track $index) { @switch (col.type) { @case ("toggle") { } } } @for (col of row.fieldGroup; track $index) { @switch (col.type) { @case ("radio-buttons") { @for (option of col.props.options; track option.value) { {{ option.label }} } } @case ("checkbox") { {{ col.name }} } } } } } }