I have the following dialog where I've added a multi-select drop down.
<SfDialog Width="500px" Height="300px" IsModal="true" @bind-Visible="@IsAdvisorSignUpVisible">
<DialogTemplates>
<Content>
<h4 class="text-center">RTS Premiere Advisor Sign-up</h4>
<br />
<br />
<SfMultiSelect TValue="Guid?[]" @bind-Value="@SelectedHouseholdList" TItem="Household" Placeholder="Select household" DataSource="@Households"></SfMultiSelect>
<MultiSelectFieldSettings Text="AccountName" Value="HouseholdId"></MultiSelectFieldSettings>
@if (SelectedHousehold != Guid.Empty)
{
<br />
<br />
<div class="text-center">
<SfButton OnClick="HouseHoldStripeNavigation">Sign-up @HouseholdName</SfButton>
</div>
}
<DialogButtons>
<DialogButton Content="Close" OnClick="@CloseAdvisorSignUpDialog"></DialogButton>
</DialogButtons>
</Content>
</DialogTemplates>
</SfDialog>
When the Dialog loads, I get an error
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Blazor.DropDowns.MultiSelectFieldSettings.OnInitializedAsync()
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
I
"Households" is a list of type "Household" and has >0 values. I can't figure out where my null reference is coming from.