Scheduler Custom Editor works but double-click throws NullReferenceException

I have created my own event dialog that is shown instead of the standard QuickInfoPopup and Editor of Syncfusion. Therefore I implement the

OnPopupOpen(PopupOpenEventArgs<AppointmentDto> args)

method and set

args.Cancel = true;

then opening my own dialog.

When clicking into a cell or on an event the dialog opens and everything is fine. But when double-clicking into a cell, the following exception occurs (everything else still works, but the exception bothers me):

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.DropDowns.SfDropDownList`2.d__530[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Syncfusion.Blazor.Schedule.Internal.DropDownFields, Syncfusion.Blazor.Schedule, Version=23.1.43.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89]].MoveNext()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

The same behavior occurs with this Syncfusion-example:

https://blazor.syncfusion.com/documentation/scheduler/how-to/custom-editor-with-validation

Using the provided code of the example, double-clicking throws the aforementioned exception.


1 Reply

VS Venkateshwaran Saravanakumar Syncfusion Team December 14, 2023 01:54 PM UTC

Hi Daniel,


Based on your query, we have created a sample in the latest version (23.2.7) using the provided documentation link. However, we are unable to reproduce the mentioned issue on our end. Please try the shared sample. If you are still facing the issue, kindly provide the following details, as they will greatly help us understand and provide a proper solution:

  • Share the exact version of the syncfusion packages you are using.
  • Share all the code snippets related to the Scheduler with the custom dialogue used.
  • Whether we have missed anything in our shared sample.
  • Provide a video demonstration illustrating the issue or
  • Provide a simplified sample that replicates the issue or
  • Replicate the issue in our shared sample.



Regards,

Venkatesh


Attachment: BlazorSchedulerCustomDialogue_5bf75f77.zip

Loader.
Up arrow icon