Hi,
I get this error when I try to show a Toast.
Newtonsoft.Json.JsonSerializationException: Error converting value "{"easing":"ease"}" to type 'Syncfusion.Blazor.Notifications.ToastAnimationSettingsShow'. Path 'show', line 1, position 31. ---> System.ArgumentException: Could not cast or convert from System.String to Syncfusion.Blazor.Notifications.ToastAnimationSettingsShow.
Version: 18.1.0.55
Platform: WebAssembly (client side)
<SfToast @ref="ToastObj"
Title="Saved" ShowCloseButton="true"
CssClass="e-toast-success"
TimeOut=5000 Icon="e-calendar" Content="Saved...">
<ToastPosition X="Right"></ToastPosition>
</SfToast>
@code{
public async Task save(){
.....
....
}
}
Regards,
Peter