A.D.
A.D.

Reputation: 1116

Blazor Telerik DropDown List does not display as expected

My Blazor dropdown list is coded as below:

<TelerikDropDownList Data="@BkAccounts" TextField="@(nameof(BkAccounts.DisplayField))" ValueField="@(nameof(BkAccounts.BIC))" Value=1 Width = "250"></TelerikDropDownList>

It displays as is the attached screenshot.

Basic displaying

when I click on it:

The 250 width correctly applied on what is displayed when I click on the DDL, but the basic displaying does not seem to apply the correct width?? What did I miss?

Upvotes: 0

Views: 1204

Answers (1)

A.D.
A.D.

Reputation: 1116

Noob mistake!

Width = "250"

must be changed to ----->

Width = "250px"

Upvotes: 2

Related Questions