@php use Filament\Support\Facades\FilamentAsset; use Illuminate\Support\Js; $maxDepth = $getMaxDepth() ?? -1; @endphp
{{ __('filament-nested-list::filament-nested-list.button.save') }}
@php $action = $this->getMountedNestedListAction(); @endphp @if ($action) {{ $action->getModalContent() }} @if (count(($infolist = $action->getInfolist())?->getComponents() ?? [])) {{ $infolist }} @elseif ($this->mountedNestedListActionHasForm()) {{ $this->getMountedNestedListActionForm() }} @endif {{ $action->getModalContentFooter() }} @endif