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?
Solution:Jump to solution
Interesting. Maybe you need
type="button"
because it otherwise submits your form?2 Replies
Solution
Interesting. Maybe you need
type="button"
because it otherwise submits your form?As per usual Dennis, on the money! Cheers buddy, complete oversight there.