Avoid ID in edit page
I need to use the edit page of my plugin without the ID
is it possible?
thanks
is it possible?
thanks
'edit' => Pages\EditSettings::route('/{record}/edit'),
should be
'edit' => Pages\EditSettings::route('/edit'),->statePath('data')
->model(SettingModel::class);public function register(Panel $panel): void
{
$panel
->pages([
SettingsPage::class,
]);
}