DEV Community

Discussion on: How to create dynamic forms in react using react-hook-forms.

pozda profile image
Ivan Pozderac


I am currently having some private stuff going on and I really didn't work on that project for quite some time now but I was thinking of providing default template and config file where you can specify which components is which input so you can have custom one if you want, something like:

import customTextInput from './CustomTextInput';
inputText: customTextInput,

I would, of course, provide documentation on required props for such custom components so they can work seamlessly.