We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6efe702 + 6ad532e commit 90fa533Copy full SHA for 90fa533
src/Filament/Resources/NavigationResource/Pages/Concerns/HandlesNavigationBuilder.php
@@ -112,10 +112,10 @@ protected function getActions(): array
112
Group::make()
113
->statePath('data')
114
->whenTruthy('type')
115
- ->schema(function (Get $get) {
+ ->schema(function (Get $get, Component $component) {
116
$type = $get('type');
117
118
- return SkyPlugin::get()->getItemTypes()[$type]['fields'] ?? [];
+ return $component->evaluate(SkyPlugin::get()->getItemTypes()[$type]['fields']) ?? [];
119
}),
120
121
0 commit comments