Welcome to the community.
There is a developer community, I think there you will get better answers for your problem.
Thanks Bastian, i just posted my question there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Geronimo Barrionuevo,
I checked through all the form docs in Atlaski, it seems they haven’t built it yet, you could pick another js package to get this done, or you can do the similar way that I did:
The thing you should before start: when we dynamically add a field, the name is important and laskit uses it to output your key and value.
so we can create local variables for example addresses = [] in state
then map this array into your form, in each loop, add fields like
<Field name={`addresses[${index}].city`} defaultValue={item.city} label="City" isRequired>
{({fieldProps}) => <TextField {...fieldProps} />} </Field>
when you submit your form, you can get this addresses array data in the form onSubmit props callback.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is an interesting work @Geronimo Barrionuevo
Keep us updated here of your progress.
Thanks!
Doods
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.