AllowCustomValue and TValue int

Hi,

It is possible to use AllowCustomValue together with TValue="int[]" ?

Example:


<SfMultiSelect TValue="int[]" TItem="MyClass" @bind-Value="@SelectedItems" AllowCustomValue="true"
               Mode="@Syncfusion.Blazor.DropDowns.VisualMode.Box" DataSource="@Data">
    <MultiSelectFieldSettings Text="Name" Value="Id"></MultiSelectFieldSettings>
</SfMultiSelect>

@code {
    private int[] SelectedItems { getset; } = { 12 };

    public class MyClass
    {
        public int Id { getset; }
        public string Name { getset; }
    }
    private List<MyClassData = new List<MyClass>()
    {
    new MyClass(){ Name"A"Id1 },
    new MyClass(){ Name"B"Id2 },
    };
}


2 Replies

DR Deepak Ramakrishnan Syncfusion Team July 21, 2021 12:46 PM UTC

Hi PhoeniX,   
  
Greetings from Syncfusion support. 
  
 We can able to reproduce the reported issue in our end and we will update further details  on or before of 23rd,July 2021. We appreciate your patience until then.  


 
Regards,  
Deepak R. 



SN Sevvandhi Nagulan Syncfusion Team July 23, 2021 12:56 PM UTC

Hi PhoeniX, 


We have considered this as a feature and logged a feature task for this requirement. We have planned to implement this feature in our volume 3 release which is expected to be roll out on end of September,2021.     

You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.     
   
   


Please get back to us if you need further assistance.    


Regards,              
Sevvandhi N 



Loader.
Up arrow icon