Looking for advice on how to handle a ‘are you sure you want to delete/do this’ action.
So far I’ve just been manually building modals or making groups appear for each and every event.
How do you do it? Is there a plugin that can help?
Looking for advice on how to handle a ‘are you sure you want to delete/do this’ action.
So far I’ve just been manually building modals or making groups appear for each and every event.
How do you do it? Is there a plugin that can help?
You can create a single reusable element (confirmation pop-up as an example) and manage confirmation text and things to be deleted using custom states or/and conditionals, for example.
while we don’t have the custom events data return (bubble will release it soon) function the best thing you can do as our friend @artemzheg stated is to use a reusable element, but instead of using custom states just create a reusable element and then for each confirmation modal you can detach the reusable, this way all elements inside of it will become part of the page/group you are using the reusable.
And then when they release the Data Return function from the custom events this reusable can have a custom event which returns true or false depending on user choice