Hi, guys
I am a bit confused how to use the Notification in the Dashboard.
For example I have a FlexView (below is a part of code)
'step2' => function ($params) {
...
//and somewhere here I understood that something is wrong with my data, for example,
// and want to show the alert to my user and after he closes it I want to change the view.
//If Everything is ok I wish to continue with my usual content
return [
Panel::create()->type('primary')->header('<b>Step 2: File Information</b>')->sub([
...
So what is the best way to do it?