how to bind input field and dropdown for updating data ?

1 Answer 168 Views
DropDownList Input
deepa
Top achievements
Rank 1
deepa asked on 15 Mar 2022, 07:00 AM
I am trying to edit the form .but I am not able to bind old data to inputs and dropdown also

1 Answer, 1 is accepted

Sort by
0
Filip
Telerik team
answered on 15 Mar 2022, 02:47 PM

Hi, Deepa,

Data can be bound to inputs and dropdown lists by utilizing the onChange callback in the FormRenderProps, as shown in this example:

https://stackblitz.com/edit/react-69bneb?file=app/main.jsx

The main idea here is to use the onChange event to set the data. In case this is not what you are looking for, please provide an example so that we can inspect further.

Regards,
Philip

Tags
DropDownList Input
Asked by
deepa
Top achievements
Rank 1
Answers by
Filip
Telerik team
Share this question
or