#Implementing a field that is an array of strings (aka tag list)

18 messages ยท Page 1 of 1 (latest)

young sorrel
#

Basically want to have an array of text fields - the number of which is unknown. How can I achieve this?

sullen magnetBOT
young sorrel
#

Implementing a field that is an array of strings (aka tag list)

#

the API response would look something like this for a doc in the collection:

{
  "id": "nmjhy7asudhjahsgfdg",
  "customListField": ["Item 1", "Item 2", ",to...,", "Item n"]
  // additional fields...
}
thorny vector
#

Text type field has "hasMany" property, have you seen that?

young sorrel
#

livesaver

#

thanks

#

didn't appear obvious to me

#

so i assumed it wasn't part of the text field docs ๐Ÿ˜…

sullen magnetBOT
thorny vector
#

Number has it too

#

Just in case

young sorrel
#

allg i just wanted a hashtag list

#

like you see on youtube

thorny vector
#

I haven't ever used though them

young sorrel
#

the text hasMany will work perfect

#

thanks again :)