@if(isset($schema) && !empty($schema)) @php $compiledSchema = \KFramework\Helpers\SchemaHelper::make([ 'schema' => $schema, 'values' => $values, 'defaults' => $defaults, 'parentUUID' => $parentUUID ?? null, 'columns' => $columns ?? 1, 'formRecord' => $customProperties['kfw_form_record'] ?? null, 'type' => 'tabs', 'tabsUUID' => $uuid, 'repeaterName' => $customProperties['kfw_repeater_name'] ?? null, 'repeaterRowIndex' => $customProperties['kfw_repeater_row_index'] ?? null, 'repeaterUUID' => $customProperties['kfw_repeater_uuid'] ?? null, 'repeaterSubLevel' => $customProperties['kfw_repeater_sublevel'] ?? null, ]); @endphp
@foreach ($schema as $field) @if(is_object($field) && $field instanceof \KFramework\Components\Visual\Tab && $field->canPermissionRender())
hidden) && $field->hidden ? 'hidden' : null }}>{!! ($field->label ?? ((isset($field->name) && $field->name != $field->uuid) ? $field->name : null) ?? ('Tab ' . ($loop->index + 1)) ) !!}
@endif @endforeach
{!! $compiledSchema !!}
@endif