@php $r = $schemaRender ?? []; $s = $r['schema'] ?? ($schema ?? null); $lz = $r['lazyLoadSchema'] ?? ($lazyLoadSchema ?? false); $vals = $r['values'] ?? ($values ?? []); $defs = $r['defaults'] ?? ($defaults ?? []); $u = $r['uuid'] ?? ($uuid ?? null); $p = $r['parentUUID'] ?? ($parentUUID ?? null); $own = $r['useOwnUUIDAsParent'] ?? false; $fb = $r['fallbackUUIDAsParent'] ?? false; $pp = $own ? $u : ($p ?? ($fb ? $u : null)); $cols = $r['columns'] ?? ($columns ?? 1); $t = $r['type'] ?? ($type ?? 'form'); $cp = $r['customProperties'] ?? ($customProperties ?? []); $fr = $r['formRecord'] ?? ($formRecord ?? ($cp['kfw_form_record'] ?? $formRecord ?? null)); $rn = $r['repeaterName'] ?? ($repeaterName ?? ($cp['kfw_repeater_name'] ?? null)); $rri = $r['repeaterRowIndex'] ?? ($repeaterRowIndex ?? 0); $ru = $r['repeaterUUID'] ?? ($repeaterUUID ?? null); $rsl = $r['repeaterSubLevel'] ?? ($repeaterSubLevel ?? 0); $tu = $r['tabsUUID'] ?? ($tabsUUID ?? null); $persistValidation = $r['persistValidationContext'] ?? false; $hasContent = array_key_exists('content', $r) || isset($content); $c = array_key_exists('content', $r) ? $r['content'] : ($content ?? null); @endphp @if(!empty($s) && !$lz) {!! \KFramework\Helpers\SchemaHelper::make([ 'schema' => $s, 'values' => $vals, 'defaults' => $defs, 'parentUUID' => $pp, 'columns' => $cols, 'formRecord' => $fr, 'type' => $t, 'repeaterName' => $rn, 'repeaterRowIndex' => $rri, 'repeaterUUID' => $ru, 'repeaterSubLevel' => $rsl, 'tabsUUID' => $tu, 'persistValidationContext' => $persistValidation, 'disabled_repeater' => $schemaRender['disabled_repeater'] ?? null ]) !!} @else @if($persistValidation && !empty($pp) && empty($s) && !$lz) @php \KFramework\Helpers\SchemaHelper::ensureEmptyFormState($pp) @endphp @endif @if($lz)