Unanswered: How do I display a value that's in a store?
Unanswered: How do I display a value that's in a store?
I have a store with only 1 field in it, vehicleMake. I have a second store, searchResults, which has a number of fields, one of which is "make_index". This make_index is the array index value for the vehicleMake store, so what I want to do is use the index from one store to lookup the value in the second store.
In a template, {make_index} displays the number. I want to do something like vehicleStore[{make_index}] to display the name of the make (which is the value stored in the vehicleMake store).
I just don't know the syntax for the store lookup. Thanks.