I've got a form, and Im adding items to an array - I want to display that array on the form below where the items are added, so the user has feedback...
If I display the full form value, I see the array just fine, however if I try to display ONLY the array, nothing shows up - and no errors.
so
{{ form.value | json }}
gives me this:
{
myArray: ["some value","another value"]
}
and if I try to do this:
{{ form.myArray }} or {{ form.myArray.value }}
I get nothing...
Any help is appreciated
Excellent answers - thanks - however
{{ form.value.myArray }}
Only gives me the first element, I want the whole array (as a list), what might I be doing wrong now.