BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
I have a SfRichTextEditor in a SfDialog. If I simply open it and then close it, I receive error:
Error: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.RichTextEditor.RichTextEditorMediaSettings.ShouldRender()
at Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
Video
https://www.loom.com/share/eb1eb6bdc4d64deba619d03bbf8d3a1f?sid=2dd0f6be-77be-4cfc-8a0e-8c0faf6c8485
Sample Project
Here's a link to project download (upload file failed).
https://sphere-qa.s3.dualstack.us-east-1.amazonaws.com/SFIssues.zip
Be sure to set SF License in in Program.cs
Comments
You'll see "Home.razor" has a button that calls method "StartNewPost()" in "ModalEditor.razor". ModalEditor has the SfDialog and SfRichTextEditor. StartNewPost() simply calls ShowAsync();. When Close is clicked, it simply calls HideAsync();