DropDown list does show popup

Hi,

I have tried to use your SfDropDownList component with no success.

<SfDropDownList CssClass="" Width="160px" TValue="string" TItem="GenderFields" Placeholder="Select Gender"DataSource="@_genderTypeList">
<DropDownListEvents TItem="GenderFields" TValue="string" DataBound="@DataboundHandler" />
<DropDownListFieldSettings Value="GenderId" Text="GenderType"></DropDownListFieldSettings>
</SfDropDownList>

With reference in the code section of my blazor component

SfDatePicker<DateTime?>? _dobDate;

When I click on the gender dropdown list it never shows the popup


I have noticed that the Databound Handler is never triggered.

Here is my data class and list I am using to populate the dropdown list:

 public class GenderFields
{
public string? ID { get; set; }
public string? Text { get; set; }
}

private List<GenderFields> _genderTypeList = new List<GenderFields>()
{
new GenderFields() {ID = "1", Text = "Male"},
new GenderFields() {ID = "2", Text = "Female"},
new GenderFields() {ID = "3", Text = "Other"},
};

I have a similar issue with with the SfDatePicker where the calendar popup never shows. If I use the SFCalendar it works however.

I suspected that I could be blocking popups but turned popups on but still does not work.

I have tested this on my Mac Safari, Chrome.

I am using Syncfusion.Blazor/19.4.0.48 and Syncfusion.Blazor.Themes/19.4.0.48 as my package dependencies from NuGet.

Please assist

Thanks,

Julian Wareley





1 Reply

SP Sureshkumar P Syncfusion Team February 28, 2022 01:59 PM UTC

Hi jwareley, 
 
We suspect that the Syncfusion.Blazor and Syncfusion.Blazor.Calendars both packages are installed in your application which is the reason the reported issue replicated from your end. please check the installed NuGet from your end and maintain any one of these packages is resolved the facing issue from your end.  
 
Regards, 
Sureshkumar P 


Loader.
Up arrow icon