whem i try to add more items to the listbox it display the item with no template.
<SfListBox @ref="selectedListBoxRef" ID="listbox2" DataSource="@selectedQuestionsList" TItem="QuestionData" AllowDragAndDrop="true" Height="330px" TValue="string[]">
<ListBoxFieldSettings Text="text"></ListBoxFieldSettings>
<ListBoxSelectionSettings Mode="SelectionMode.Single"></ListBoxSelectionSettings>
<ListBoxEvents TValue="string" ValueChange="selectSelectedCurrentItem"></ListBoxEvents>
<ListBoxTemplates TItem="QuestionData">
<ItemTemplate>
<div class="list-wrapper">
<i class="far fa-chevron-square-right" @onclick="@moveFromList"></i>
<span class="text">@((context as QuestionData).text)</span>
</div>
</ItemTemplate>
</ListBoxTemplates>
</SfListBox>
using this methos :
SfListBox<string[], QuestionData> selectedListBoxRef;
selectedListBoxRef.AddItems(selectedQuestion);