$hasInlineLabel,
match ($inlineLabelVerticalAlignment) {
VerticalAlignment::Start => 'sm:items-start',
VerticalAlignment::Center => 'sm:items-center',
VerticalAlignment::End => 'sm:items-end',
} => $hasInlineLabel,
])
>
@if (($label && (! $labelSrOnly)) || $labelPrefix || $labelSuffix || filled($hint) || $hintIcon || count($hintActions))
attributes->get('class') : null,
])
>
@if ($label && (! $labelSrOnly))
{{ $label }}
@elseif ($labelPrefix)
{{ $labelPrefix }}
@elseif ($labelSuffix)
{{ $labelSuffix }}
@endif
@if (filled($hint) || $hintIcon || count($hintActions))
{{ $hint }}
@endif
@endif
@if ((! \Filament\Support\is_slot_empty($slot)) || $hasError || filled($helperText))
$hasInlineLabel,
])
>
{{ $slot }}
@if ($hasError)
{{ $errors->has($statePath) ? $errors->first($statePath) : ($hasNestedRecursiveValidationRules ? $errors->first("{$statePath}.*") : null) }}
@endif
@if (filled($helperText))
{{ $helperText }}
@endif
@endif