Binding kendoForm formData to remote datasource

1 Answer 836 Views
Form
Nazrul
Top achievements
Rank 1
Nazrul asked on 07 Oct 2021, 08:31 PM
I am trying to fill in kendoForm elements with data retrieved from an API. Is it possible to use a observable object and bind to formData? How can this be done otherwise?

1 Answer, 1 is accepted

Sort by
1
Accepted
Martin
Telerik team
answered on 12 Oct 2021, 08:17 AM

Hello, Nazrul,

A possible option to dynamically set the formData is to use the setOptions method once the data is retrieved. Here is a small example for reference.

Let me know if that achieves the desired result.

Regards,
Martin
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.

Tags
Form
Asked by
Nazrul
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or