Replies: 3 comments 1 reply
-
|
Here is an example using react-hook-forks: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hello @jkergosi you can do the same with Formiz :) |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
@jkergosi I made a simple example here ➡️ https://codesandbox.io/s/formiz-dynamic-form-exx0r 🤗 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know you can see form fields with:
But can I actually is FormIZ to create forms dynamically, providing the schema with JSON? Ex. :
Where fieldJson has all required params to build the form.
{
fieldA: {
name: 'myFieldA'
type: 'text'
label: 'Field A'
errorMessage: 'Field A is Required',
},
fieldB: {
name: 'myFieldB'
type: 'text'
label: 'Field B'
errorMessage: 'Field B is Required',
},
...
}
Beta Was this translation helpful? Give feedback.
All reactions