Component extends ContentNode with nodearray non-resizable

Hi,

I’m trying to extend ContentNode:

<component  name = "ExtContentNode" extends = "ContentNode">
  <interface >
    <field id = "list" type = "nodearray" alwaysNotify="true" />
  </interface>
</component>

But when I try to add value in code:

 for each kid in itemAA.children
     item.list.push(kid)
  end for

I get “roArray.Push: push ignored for non-resizable array”.
How can I make it resizable?

Only node field types are accessed by reference, so you can’t modify a nodearray directly. You need to reference the nodearray locally, modify it, then reset it.