How to populate a DropDownList inside a form?

1 Answer 166 Views
DropDownList Form
Dominic
Top achievements
Rank 1
Iron
Dominic asked on 10 Feb 2023, 09:59 PM

Good afternoon,

I am trying to populate a DropDownList inside a form with a data array. 

<Field component={DropDownList}

 

I am populating "data" with the dataset, textField with the label data, and dataItemKey with the Ids.  Am I missing something?

Thanks 

1 Answer, 1 is accepted

Sort by
0
Wissam
Telerik team
answered on 13 Feb 2023, 05:12 PM

Hello, Dominic,

Your approach is correct. Here is an example where I am binding the data to an array of objects of a DropDownList inside a Form:

I hope this helps, but please let us know if you have any further questions.

Regards,
Wissam
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Dominic
Top achievements
Rank 1
Iron
commented on 14 Feb 2023, 02:40 PM

Thanks, it looks like a Z-Index issue.  It actually was populating the data, but was not visible in the panel.
Wissam
Telerik team
commented on 15 Feb 2023, 01:00 PM

Hi, Dominic,

I understood that you were able to solve the faced issue.  Is this correct?

Regards,
Wissam
Progress Telerik
Dominic
Top achievements
Rank 1
Iron
commented on 15 Feb 2023, 01:02 PM

Yes, thanks for your input.
Wissam
Telerik team
commented on 15 Feb 2023, 03:50 PM

You are welcome!
Tags
DropDownList Form
Asked by
Dominic
Top achievements
Rank 1
Iron
Answers by
Wissam
Telerik team
Share this question
or