Have to click action twice in component
Hi all,
Strange one - I have a table with an action. The action opens up my livewire component, which just contains a table (for now). The table in the component then has it's own actions (attach) with requires confirmation set.
The issue I have is that I have to click the attach action twice in order for the confirmation to appear. As you can see in the video, the loading icon spins and then it does nothing. If I click again, it works as it should.
The first action looks like this:
This looks at my component view
Which loads my livewire component
and a
I found I had to register the component in the
I guess the 2 questions are:
Strange one - I have a table with an action. The action opens up my livewire component, which just contains a table (for now). The table in the component then has it's own actions (attach) with requires confirmation set.
The issue I have is that I have to click the attach action twice in order for the confirmation to appear. As you can see in the video, the loading icon spins and then it does nothing. If I click again, it works as it should.
The first action looks like this:
This looks at my component view
Which loads my livewire component
AttachModal where a table() method is used to generate the table with an action which is simplyand a
render() method I found I had to register the component in the
AppServiceProvider tooI guess the 2 questions are:
- Is this the correct way to add custom components to filament?
- What's causing me having to click on the
attachaction twice for the confirmation to appear?