$component must not be accessed before initialization. Trying to use a modal with table edit button
Trying to use a modal from the table row button.
Form loads fine as long as I don't try and access the livewire component
->modalFooterActions([
FormAction::make('Save')
->action('save')
->disabled(function ($record) { // this is causing the issue.
return $this->test_complete;
}),
Not sure why or how to get around this?
2 Replies