Bulkaction notification
Hello, I'm having difficulty launching notifications in bulkaction. Example: I have the action to delete users in the bulkaction and when selecting two different users in the bulkaction checkbox it launches a notification and makes the delete action impossible to work, but this must happen when selecting the two users and clicking on the action (without opening it). I don't want the notification to appear after opening the action and confirming, it should appear before, at the time of clicking. Is it possible?
5 Replies
"checkbox it launches a notification"? how a does the bulck actions selection lanches a notification?
Can you share video for this scenario
@Mohamed Ayaou It's like this example, when selecting two different records in the bulkaction, and right after clicking (for example) on delete, notifying the user, without the delete action being opened

Do you mean the notification is dispatched just by clicking on the 'Delete selected' and even before the logic starts?
Can you share the code of the bulk actions, I think there is an overriding to a default behavior
In fact, I need this to happen, for the notification requested at the time of click, to be understood? I used delete as an example, but I won't use it for this.
Oh, I think you have to share the code for your use case with detailed comments, what you want to happened, and what is happening