Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I'm using the datepicker control which is working fine on a desktop browser, but if I emulate iphone via f12, or on my real device, no picker appears and I can see console errors:


crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]

      Unhandled exception rendering component: String '03/29/2023' was not recognized as a valid DateTime.

System.FormatException: String '03/29/2023' was not recognized as a valid DateTime.

   at System.DateTimeParse.Parse(ReadOnlySpan`1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles)

   at System.DateTime.Parse(String s, IFormatProvider provider)

   at System.Convert.ToDateTime(String value, IFormatProvider provider)

   at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)

   at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)

   at Syncfusion.Blazor.Internal.SfBaseUtils.ChangeType(Object dataValue, Type conversionType, Boolean isClientChange, Boolean isParseValue)

   at Syncfusion.Blazor.Calendars.SfDatePicker`1.d__211[[System.DateOnly, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()

   at Syncfusion.Blazor.Calendars.SfDatePicker`1.d__459[[System.DateOnly, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()

   at Syncfusion.Blazor.Calendars.SfDatePicker`1.d__436[[System.DateOnly, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()

   at Syncfusion.Blazor.Calendars.SfDatePicker`1.d__433[[System.DateOnly, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()

   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)



Here is my declaration:


Empty


Format is: 

"dd MMM yyyy"

I'm using DateOnly type which it says you support: