combobox or dropdownlist items are displaying horizontally

1 Answer 84 Views
ComboBox DropDownList
Ram
Top achievements
Rank 1
Ram asked on 14 Sep 2023, 05:40 PM | edited on 15 Sep 2023, 01:45 PM

Why Kendo UI Angular combobox or dropdownlist items are displaying horizontally?

 

 

here is my code:

 <kendo-formfield>
          <kendo-label [for]="gender"
                       text="Gender"></kendo-label>
          <kendo-combobox #gender
                          formControlName="gender"
                          [data]="genders"
                          textField="text"
                          valueField="value">
          </kendo-combobox>
 </kendo-formfield>

1 Answer, 1 is accepted

Sort by
0
Simeon
Telerik team
answered on 18 Sep 2023, 01:05 PM

Hello Ram,

Thank you for the provided screenshot and code snippet.

By default, the options of all Kendo UI for Angular dropdown components are rendered below each other, as can be seen in the documentation.

https://www.telerik.com/kendo-angular-ui/components/dropdowns/

What could potentially affect the default layout could be some custom CSS code that targets those elements. Please double-check the styles or try defining the ComboBox in another component to see if there is any difference.

I also suggest checking whether the correct theme is used for this Kendo UI for Angular version. You can find the supported themes for each version in our Changelog:

https://www.telerik.com/kendo-angular-ui/components/changelogs/kendo-angular-ui/

In case the issue persists, please try isolating the issue in a runnable project or StackBlitz. This will help us examine the case and provide a solution. Thank you in advance.

Regards,
Simeon
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
ComboBox DropDownList
Asked by
Ram
Top achievements
Rank 1
Answers by
Simeon
Telerik team
Share this question
or