-
Is it possible to clear a set of notifications and show new notifications in the same dash callback? If not, what is a good workaround? (I'm currently testing the display of notifications for validation errors when submitting a form.) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Here's an example of showing new notifications and clearing notifications in the same callback: https://www.dash-mantine-components.com/components/notification#clean-and-cleanqueue |
Beta Was this translation helpful? Give feedback.
-
Another good way to notify users about errors on forms is to use the |
Beta Was this translation helpful? Give feedback.
You might try using
set_props
with a delay between each one https://dash.plotly.com/advanced-callbacks#setting-properties-directlyNot sure if this is a best practice though.