Select then show Modal
Hi, I have a select component and has 2 options. How can I add a modal when I've selected one of those in options? like
11 Replies
something like that?
Thanks @Leandro Ferreira for your quick response, something like this but I want to appear a modal (confirmation) once Ive selected an item. And that modal should be appeared once state is updated.
Something like this. My purpose is, once the user select a new item from option, all related data not belongs to the current selected item will be deleted. I just want some confirmation before deletion.
Maybe I just don't get your point. I will try to implement it
I've tried your example but no confirmation has appeared
are you using only the form builder?
yes π
Sorry @Leandro Ferreira I am using the Resource form, the default form methon when creating a resource.
my example was supposed to work. Share the code you are trying to do
This is the output of the code, once I selected option 2 or clicking the "custom action", there is no modal appearing.
Did you copy my example?
Yes, is there something to add on it?
no