You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
If I want to populate a field with an array of objects it works fine in almost all cases. But if an object has property named 'value' something strange happens.
For example if I have a following array:
[{id:1, name 'name'}]
after form.update({arrayField: array}) in the arrayField's value I have the passed array, But if we have an array like following:
[{id:1, name 'name', value: 'some value'}]
after form.update({arrayField: array}) in the arrayField's value I have 'some value' instead of an array.
The same result if I try to use add() instead of update.
If it is an expected behavior, could you please let me know, how can I populate the array field with this kind of object?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hello.
If I want to populate a field with an array of objects it works fine in almost all cases. But if an object has property named 'value' something strange happens.
For example if I have a following array:
after
form.update({arrayField: array})
in the arrayField'svalue
I have the passed array, But if we have an array like following:after
form.update({arrayField: array})
in the arrayField'svalue
I have 'some value' instead of an array.The same result if I try to use
add()
instead ofupdate
.If it is an expected behavior, could you please let me know, how can I populate the array field with this kind of object?
Thanks in advance.
The text was updated successfully, but these errors were encountered: