Hi, I'm having problem binding a SfMultiSelect control.
<SfMultiSelect TValue="string[]" @bind-Value="@tDTag.Value_Task_Tmp" TItem="MultiSelectData" DataSource="@multiSelectData">
<MultiSelectFieldSettings Text="Text" Value="ID"></MultiSelectFieldSettings>
</SfMultiSelect>
When using this code, I cant select items (or remove items). See attached gif (gif1.gif).
When replacing the "@bind-Value" with "Value", everything works great (but ofc doesn't bind).
Other code:
public class MultiSelectData
{
public string ID { get; set; }
public string Text { get; set; }
}
public TDTag(){
public string[] Value_Task_Tmp
{ get; set; } }
Thank you for your quick response. I have upgraded 19.2.0.60.
I see that it work's great in your solution, and if I remove all the items in my TValue="string[]" it works for me aswell.
But as soon as I have values in there, it behaves very strange.
I have multiple multiselect controls on the same page, could this be an issue?
Should I add values to public string[] Value_Task_Tmp in some certain way for the values to "bind"?
Hi, this is sorted. I'm not sure why :).
Thank you so much for your help.