mirror of
https://github.com/filamentphp/filament.git
synced 2026-08-30 17:07:25 +08:00
chore: fix code style
This commit is contained in:
committed by
github-actions[bot]
parent
43a2fb0959
commit
a3521cefd7
@@ -1,11 +1,8 @@
|
||||
<x-dynamic-component
|
||||
:component="$getFieldWrapperView()"
|
||||
:field="$field"
|
||||
>
|
||||
<div
|
||||
x-data="{ state: $wire.$entangle(@js($getStatePath())) }"
|
||||
{{ $getExtraAttributeBag() }}
|
||||
>
|
||||
{{ $getChildComponentContainer() }}
|
||||
</div>
|
||||
<x-dynamic-component :component="$getFieldWrapperView()" :field="$field">
|
||||
<div
|
||||
x-data="{ state: $wire.$entangle(@js($getStatePath())) }"
|
||||
{{ $getExtraAttributeBag() }}
|
||||
>
|
||||
{{ $getChildComponentContainer() }}
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
|
||||
@@ -24,7 +24,7 @@ class TestFieldWithChildComponentSchema extends Field
|
||||
parent::setUp();
|
||||
|
||||
$this
|
||||
->afterStateHydrated(function (self $component, mixed $state) {
|
||||
->afterStateHydrated(function (self $component, mixed $state): void {
|
||||
if (! $state) {
|
||||
$state = ['partA' => 'defaultA', 'partB' => 'defaultB'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user