Here’s what the data looks like in the Algolia index:
"locations": [ "Chilton, WI", "Manitowoc, WI" ],
Here’s the template code:
This is the HTML output on screen:
Chilton, WI,Manitowoc, WI
Where does the comma separator come from? I’m assuming there’s a native transformation function at play here, but not sure where to look to override this.
I’m using instantsearch.js.
2nd question (if you will indulge me) - can anyone point me to documentation on accessing an array objects in my index?
Ideally, my above array would be, where the integer is the key for that location. But not sure how to access it.
"locations": [ 555: "Chilton, WI", 556: "Manitowoc, WI" ],
Thanks for any help, I’m learning - slowly