I am getting this error when using a component from the Razor Component Library into ASP.NET Core project while rendering.
Error: System.InvalidOperationException: Unable to set property 'TimeOut' on object of type 'Syncfusion.Blazor.Notifications.SfToast'. The error was: Unable to cast object of type 'System.Double' to type 'System.Int32'.
when I use this component within the ASP.NET Core Blazor project it works fine.
Given below is the code sample and how it is being used.
And rendering this like
As you can see exception is on type that cannot convert double to int
I am using syncfusion.blazor version 18.0.1.48