Closed skillmaker-dev closed 9 months ago
I had to add
<FluentDialogProvider />
<FluentToastProvider MaxToastCount="5" Position="ToastPosition.BottomRight" Timeout="3000" />
Inside the component i'm trying to show the dialog inside
I had to add
<FluentDialogProvider /> <FluentToastProvider MaxToastCount="5" Position="ToastPosition.BottomRight" Timeout="3000" />
Inside the component i'm trying to show the dialog inside
Just as I was about to reinstate PNotify I came across your message! Thanks! The docs specifically say to enter the above in the Layout file so good call !
🐛 Bug Report
I can't make toast or dialog services work in SSR mode even when using render mode of type InteractiveServer
💻 Repro or Code Sample
I put the providers in my main layout, i called mine AdminLayout.razor
I tried to change the number of line in which i put the providers but still the same error occurs. This is how i inject the services:
This is how i call the method to show a message :
🤔 Expected Behavior
It should show a nice looking message or toast
😯 Current Behavior
this is what shows in console:
And btw, when i call the sync version of ShowToast or ShowError nothing happens even the error doesn't show up
🔦 Context
I'm trying to figure out how to make this work
🌍 Your Environment