Dropdown Part is Not working

Hi.  I was trying to using the DropDownList component in a project and it was not working.  So I have built a very tiny simple Blazor Server project and it is still not working.  the component renders, but when I click on the drop down arrow, nothing happens.  I cannot type nor can I select an item.

Code is attached.  Please let me know what I am missing here.

Thanks,

Marc.


Attachment: BlazorApp1_ea8a53ba.7z

5 Replies

SP Sureshkumar P Syncfusion Team January 31, 2022 12:24 PM UTC

Hi Marc, 
 
We have checked the shared sample. In the shared sample you have installed Syncfusion.Blazor NuGet but refer the style and script for individual NuGet. So, we suggest you to install the Syncfusion.Blazor.DropDowns NuGet package to get rid of the reported issue. 
 
 
Screenshot: 
 
 
 
 
Regards, 
Sureshkumar P 



MA Marc January 31, 2022 06:10 PM UTC

Thanks.  That works great. 

Would you provide more detail on this comment you made " you have installed Syncfusion.Blazor NuGet but refer the style and script for individual NuGet "?  How did I refer the style and script to an individual  NuGet? 








PO Prince Oliver Syncfusion Team February 1, 2022 11:01 AM UTC

There is Syncfusion.Blazor NuGet which includes the entire Syncfusion library and then, there is individual component NuGet like Syncfusion.Blazor.DropDowns for DropDown components alone. You can learn more about it in the documentation below, 

Both NuGet packages have different static assets (theme and script files). When using Syncfusion.Blazor NuGet, refer the below 

<link rel='nofollow' href="_content/Syncfusion.Blazor/styles/bootstrap5.css" rel="stylesheet" />  
<script src="_content/Syncfusion.Blazor /scripts/syncfusion-blazor.min.js" type="text/javascript"></script> 


When using Syncfusion.Blazor.DropDowns NuGet, refer the below 

<link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" /> 
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script> 



Regards, 
Prince 




MA Marc February 1, 2022 12:30 PM UTC

Thanks Prince.  I was not aware of those nuances.  Very helpful to know.  Marc.



SP Sureshkumar P Syncfusion Team February 2, 2022 03:57 AM UTC

Hi Marc, 
 
Thanks for your update. 
 
Regards, 
Sureshkumar P 


Loader.
Up arrow icon