We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I have been trying to create FormArray with this library. but i am unclear how it handles array
FormArray
while generating form -- does it create FormArray or FormGroup if an array is present in json?
FormGroup
What I tried? https://www.hiteshbalar.com/ngx-recursive-form/
{ "order": 3, "name": "language", "label": "Languages you know", "type": "array", "parameters": [ { "name": "languageName", "label": "Language Name", "type": "string", "placeholder": "Input language name" }, { "name": "experience", "label": "Total Experience", "type": "number", "placeholder": "Total experience in year" } ], "defaultValue": [ { "languageName": "JavaScript", "experience": 4 }, { "languageName": "has", "experience": 3 }, { "languageName": "not", "experience": 2 } ] }
This works. But I do this in my componet files is returned as FormGroup. Instead it should be FormArray.
files
Please clarify.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I have been trying to create
FormArray
with this library. but i am unclear how it handles arraywhile generating form -- does it create
FormArray
orFormGroup
if an array is present in json?What I tried?
https://www.hiteshbalar.com/ngx-recursive-form/
This works.
But I do this in my componet
files
is returned as FormGroup. Instead it should be FormArray.Please clarify.
The text was updated successfully, but these errors were encountered: