Closed roborobs1023 closed 12 months ago
Is it possible to generate fields on the fly based on user input?
For instance allowing a user to create a custom form within the frontend of the application.
User selects a field type, enters the name for the field, requirements etc. and the form is generated and in turn displayed on the screen.
I know you can the same type of field to form dynamically but can you add user specified fields?
Any idea on this?
I was able to get it to work using Record<string, any> type from zod.
Describe the feature you'd like to see added
Is it possible to generate fields on the fly based on user input?
For instance allowing a user to create a custom form within the frontend of the application.
User selects a field type, enters the name for the field, requirements etc. and the form is generated and in turn displayed on the screen.
I know you can the same type of field to form dynamically but can you add user specified fields?