@props([ 'id', 'label' => null, 'labelPrefix' => null, 'labelSrOnly' => false, 'labelSuffix' => null, 'helperText' => null, 'hint' => null, 'hintIcon' => null, 'required' => false, 'statePath', ])
class(['filament-forms-field-wrapper']) }}> @if ($label && $labelSrOnly) @endif
@if (($label && (! $labelSrOnly)) || $labelPrefix || $labelSuffix || $hint)
@if ($label && (! $labelSrOnly)) {{ $label }} @elseif ($labelPrefix) {{ $labelPrefix }} @elseif ($labelSuffix) {{ $labelSuffix }} @endif @if ($hint || $hintIcon) {!! filled($hint) ? \Illuminate\Support\Str::markdown($hint) : null !!} @endif
@endif {{ $slot }} @if ($errors->has($statePath)) {{ $errors->first($statePath) }} @endif @if ($helperText) {!! \Illuminate\Support\Str::markdown($helperText) !!} @endif