$this->mountAction() fails to find and open the action

I have a section's header action, which is nested in the tabs.
Tab::make('test_tab')
->label('Test')
->schema([
Section::make('Test section')
->contained(false)
->headerActions([
Action::make('test_action')
->label('Tests') and so on...
]),
]),
Tab::make('test_tab')
->label('Test')
->schema([
Section::make('Test section')
->contained(false)
->headerActions([
Action::make('test_action')
->label('Tests') and so on...
]),
]),
Then I have a method which calls $this->mountAction() and I want to trigger opening this action's modal programmatically, but nothing happens. I inspected source and figured out that it fails to find mounted actions and returns null. This works if I try to mount a page header's actions. How can I trigger opening this nested action programmatically?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?