JSON driven KendoReact forms

1 Answer 138 Views
DropDownList Form General Discussions Input Wrappers for React
Evan
Top achievements
Rank 1
Evan asked on 09 Mar 2022, 03:17 PM

I'm looking for an example of how we would use a JSON object to dynamically generate a form. We have a number of products that users can select and depending on the product they select the input fields will be different, all of the configurations can be sent via a JSON object but i'm trying to understand how to use that to generate a unique for based on the config.

Are there any examples of this type of dynamic form?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 10 Mar 2022, 09:01 PM

Hi Evan,

Thank you for contacting us.

Even though we do not have an example for dynamically building the KendoReact Form component from JSON, you can generate the Field components within the Form dynamically based on the available information (fields and type for example) coming from the JSON file. Here is a link to the Form component documentation which can be used as a starting point:

If any specific questions arise during the implementation, feel free to contact us again.

 

Regards,
Konstantin Dikov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
DropDownList Form General Discussions Input Wrappers for React
Asked by
Evan
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or