If I have an array in my controller/component like myarray:[“ben”,“beng”, “benglancy”]
In my template can I access the third element of this array directly?
And similarly if I have a recordarray can I access a particular one to access to fields in the model (element) in the template or do I have to create a computedproperty to filter/find it.
Does not seem to work. I have a model.genericdata, a record array result from .query() in the router. I just wanted to access the first item.
If the index leads to an object, how would you access a field of this “3”.