Good morning,
I have a page that calls a query modal, using Syncfusion Dialogs - (NcmCestConsulta.razor) and this modal, when clicking on the edit or new button, calls another registration modal (NcmCestCadastro.razor);
This registration modal has an SfComboBox called "Imposto CFe", whose TItem is the class called "IcfeItem" and whose datasource is the object "IcfeList".
When closing the modal using the "X" or "Cancel" button, the error "Unhandled exception rendering component: Object reference not set to an instance of an object." occurs, referring to the type "Syncfusion. Blazor.DropDowns.SfDropDownList" and "Syncfusion.Blazor.DropDowns.SfComboBox", and also the "OnAfterRenderAsync" method, citing the "VitaWeb.Shared.NcmCest.IcfeItem" class in the error.
I would like your help to understand where the error is, because when closing the modal there should be no reference to this field or component.
Prints, source code and error log attached as .rar.
Thank you in advance.
Attachment:
errors_sfcombobox_a43044f9.rar