This is a react project with TypeScript that generate a form from an object.
The problem I tried to solve is create a form with a lot of fields ia a flexible way.
Repo: https://github.com/matteo-naif/form-generator
Use the npm command to install dependencies.
npm installRun the project
npm run devThe configuration object of the form is in the directory
src/config/form
To validate fields I used the Yup object schema validation. Read the doc.