onlyProps([ 'field' => null, 'hasInlineLabel' => null, 'hasNestedRecursiveValidationRules' => false, 'helperText' => null, 'hint' => null, 'hintActions' => null, 'hintColor' => null, 'hintIcon' => null, 'hintIconTooltip' => null, 'id' => null, 'isDisabled' => null, 'isMarkedAsRequired' => null, 'label' => null, 'labelPrefix' => null, 'labelSrOnly' => null, 'labelSuffix' => null, 'required' => null, 'statePath' => null, ]) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> exceptProps([ 'field' => null, 'hasInlineLabel' => null, 'hasNestedRecursiveValidationRules' => false, 'helperText' => null, 'hint' => null, 'hintActions' => null, 'hintColor' => null, 'hintIcon' => null, 'hintIconTooltip' => null, 'id' => null, 'isDisabled' => null, 'isMarkedAsRequired' => null, 'label' => null, 'labelPrefix' => null, 'labelSrOnly' => null, 'labelSuffix' => null, 'required' => null, 'statePath' => null, ]); ?> null, 'hasInlineLabel' => null, 'hasNestedRecursiveValidationRules' => false, 'helperText' => null, 'hint' => null, 'hintActions' => null, 'hintColor' => null, 'hintIcon' => null, 'hintIconTooltip' => null, 'id' => null, 'isDisabled' => null, 'isMarkedAsRequired' => null, 'label' => null, 'labelPrefix' => null, 'labelSrOnly' => null, 'labelSuffix' => null, 'required' => null, 'statePath' => null, ]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) { $$__key = $$__key ?? $__value; } ?> $__value) { if (array_key_exists($__key, $__defined_vars)) unset($$__key); } ?> hasInlineLabel(); $hasNestedRecursiveValidationRules ??= $field instanceof \Filament\Forms\Components\Contracts\HasNestedRecursiveValidationRules; $helperText ??= $field->getHelperText(); $hint ??= $field->getHint(); $hintActions ??= $field->getHintActions(); $hintColor ??= $field->getHintColor(); $hintIcon ??= $field->getHintIcon(); $hintIconTooltip ??= $field->getHintIconTooltip(); $id ??= $field->getId(); $isDisabled ??= $field->isDisabled(); $isMarkedAsRequired ??= $field->isMarkedAsRequired(); $label ??= $field->getLabel(); $labelSrOnly ??= $field->isLabelHidden(); $required ??= $field->isRequired(); $statePath ??= $field->getStatePath(); } $hintActions = array_filter( $hintActions ?? [], fn (\Filament\Forms\Components\Actions\Action $hintAction): bool => $hintAction->isVisible(), ); $hasError = $errors->has($statePath) || ($hasNestedRecursiveValidationRules && $errors->has("{$statePath}.*")); ?>
class(['fi-fo-field-wrp'])); ?>>
'filament-forms::components.field-wrapper.label','data' => ['for' => $id,'error' => $errors->has($statePath),'isDisabled' => $isDisabled,'isMarkedAsRequired' => $isMarkedAsRequired,'prefix' => $labelPrefix,'suffix' => $labelSuffix,'required' => $required]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament-forms::field-wrapper.label'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['for' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($id),'error' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($errors->has($statePath)),'is-disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isDisabled),'is-marked-as-required' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isMarkedAsRequired),'prefix' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labelPrefix),'suffix' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($labelSuffix),'required' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($required)]); ?> renderComponent(); ?> 'filament-forms::components.field-wrapper.hint','data' => ['actions' => $hintActions,'color' => $hintColor,'icon' => $hintIcon,'tooltip' => $hintIconTooltip]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament-forms::field-wrapper.hint'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hintActions),'color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hintColor),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hintIcon),'tooltip' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($hintIconTooltip)]); ?> renderComponent(); ?>
'filament-forms::components.field-wrapper.error-message','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament-forms::field-wrapper.error-message'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> first($statePath) ?? ($hasNestedRecursiveValidationRules ? $errors->first("{$statePath}.*") : null)); ?> renderComponent(); ?> 'filament-forms::components.field-wrapper.helper-text','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament-forms::field-wrapper.helper-text'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes([]); ?> renderComponent(); ?>