Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

7
Votes

While trying to open the DropDownList, then console error is occurred if we bind the List to component. 

Code:



@using Syncfusion.Blazor.DropDowns



    <SfDropDownList TValue="string" TItem="string" DataSource="DropDownData" Value="DropdownVal" EnableRtl="false">

        <DropDownListEvents TItem="string" ValueChange="PageSizeChanged" TValue="string"></DropDownListEvents>

    </SfDropDownList>


    @code{

        public string DropdownVal { get; set; } = "12";

        public List<string> DropDownData = new List<string>() { "All", "1", "2","12" };

        public void PageSizeChanged()

        {


        }


    }



Issue Screenshot:



Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ServerApp-598406388