New Syntax: Ref array remains null or only references the last item. Old Syntax: Focus and scroll behavior work correctly. What is expected? useTemplateRefpopulatesmyNewItemRefswith an array of referenced elements after they are rendered. What is actually happening? useTemplateRefpopulatesmyNewItem...
When using an element from an array use $ instead of @. @ is only used when creating an array or when you're referring to the array as a whole and not the individual items (e.g. foreach(@array), map{}@array, sort{}@array etc etc) My guess is that this is the biggest problem...