add alert above a form if some condition exists?
I need to have some kind of warning message, not a temporary notification, but a static alert displayed above a form if some condition exists. In my case, there's a form that a user can fill out, but they have to connect an external API integration before they can make those modifications. I want to display a message to the user that they won't be able to do anything until they connect the API.
Solution:Jump to solution
Use a placeholder : https://filamentphp.com/docs/3.x/forms/layout/placeholder
3 Replies
or maybe can I just disable an entire form?
seems like it wouldn't be ideal to disable it and not have any explanation to the user though..
Solution
Thanks, I thought there was something like this, but I couldn't find it.