Prevent Modal Closing?
Within the tables component in a livewire component we have an action, that action renders a form with a view field. The view field renders a button with:
This works well, but on downloading the document the modal / sliderOver is closed. Is there a method we can place in the downloadAttachment function to prevent the modal/slideOver closing?
This works well, but on downloading the document the modal / sliderOver is closed. Is there a method we can place in the downloadAttachment function to prevent the modal/slideOver closing?
Solution
Interesting. Maybe you need
type="button" because it otherwise submits your form?