I have created a custom action on view page of the post page which on click sends data to API for processing data and returns result in few second. User only sees loading animation near the action button, but I want to create a modal/popup which shows a custom loading animation and also disables the click on any of the links.
I tried ->hint() which renders custom HTML in form, but it didn't work on the action, is there something like that on the action?
Hey there! 👋 I understand what you’re trying to achieve.
Loading states can be tricky, but I’ve got a solution that should work perfectly for you!
You can create a custom modal with an overlay using JavaScript and CSS. I’ll help you set it up step by step. Just let me know if you need the actual code snippets, and I’ll be happy to share them with you. Remember, we can always try different approaches if this one doesn’t quite fit your needs!