Is there a way to determine when a user clicked on a URL (TextEntry)
Hey there.
I would like to know if I can somehow determine if the user clicked on the URL when using a
TextEntry::make()->url()6 Replies
What are you trying to do?
You could attach a JavaScript event listener.
I fixed it using a header action for now but I want it to look like text in infolist and then let the user click on it. After the user has clicked on it I want to save a record in the database.
So something like
wire:click="saveRecord" and a Livewire method?Maybe that could work, will try it !
If you are encouraging user to click, then the suffixAction works well in infolists.
Thanks for your response. Will check it.
I solved it now by using an action modal, but how can I make sure the modal gets closed after confirmation button is pressed: