@php $statePath = $getStatePath(); $items = $getState() ?? []; $itemsCount = count($items); $isMultiple = $isMultiple(); $maxItems = $getMaxItems(); $shouldDisplayAsList = $shouldDisplayAsList(); @endphp
$itemsCount > 0 ]) > @if ($itemsCount === 0 || $isMultiple) @if (! $maxItems || $itemsCount < $maxItems) {{ $getAction('open_curator_picker') }} @endif @endif @if ($itemsCount > 1) {{ $getAction('removeAll') }} @endif