Replies: 5 comments 8 replies
-
I tried to use CSS, like .mv-deleted{ but as expected, it removes all toast, even the ones I want to keep (in case I want to undo delete action) I'm thinking about a mv-action to apply a hidden class, then apply my actions, then remove hidden class again. Or is there a better way to do this? |
Beta Was this translation helpful? Give feedback.
-
This is a good idea, I've also needed to hide the toast for specific delete actions. Since |
Beta Was this translation helpful? Give feedback.
-
Hi @LeaVerou Thanks for your reply delete_silent() sounds good for me :) But may I ask you if you're talking about a function, or a new mv-action attribute? Most natural (for me) would be to have it as a new mv-action attribute. |
Beta Was this translation helpful? Give feedback.
-
Can we perhaps generalize to a deleteWithMessage since I often don't like the default one? |
Beta Was this translation helpful? Give feedback.
-
Could help till such function will be implemented in Mavo: Found a 'not so good' way to clear a collection without producing a popup message:
not so good because it clears all, but inserts empty value in collection {} |
Beta Was this translation helpful? Give feedback.
-
Hi
When using multiple calls to mv-action attribute, that include
delete
orclear
, it toasts a message with ('deleted' + undo button)But in some cases, delete/clear are part of a global 'normal' mv-action, where there's no sense to toast 'alert' messages that let the user undo.
So, my question is: Is there a way to ask mavo to not toast in a specific case? Just on specific mv-action's?
Maybe something like mv-action"...." mv-notoast ?
Also related to #842 :
@DmitrySharabin , in case it's not possible, wouldn't this usecase be an interesting option to add to your plug-in?
Beta Was this translation helpful? Give feedback.
All reactions