protected function getTableActions(): array
{
return [
CreateAction::make('Create Goal')
->form(function (Goal $goal) use ($user) {
$form = Form::make('createGoal', [
'model' => $goal,
]);
$form->schema([
Hidden::make('mission_id')
->default(mission_id value???)
....
protected function getTableActions(): array
{
return [
CreateAction::make('Create Goal')
->form(function (Goal $goal) use ($user) {
$form = Form::make('createGoal', [
'model' => $goal,
]);
$form->schema([
Hidden::make('mission_id')
->default(mission_id value???)
....