Help

Sending Javascript Array via API to Multiple-select field

1043 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Iceshax_B
4 - Data Explorer
4 - Data Explorer

Hello, I’m trying to send a Javascript array with multiple values to my Airtable (multi-select field).

Array example:

var colors = [ "#4BC2A4-a", "#4BC2A4-b", "#4BC2A4-c", "#4BC2A4-d", "#4BC2A4-e", "#4BC2A4-f", "#4BC2A4-g", "#4BC2A4-h", "#f4a261-j", "#f4a261-10-k", "#EF616C-11-l", "#EF616C-m", "#EF616C-n", "#EF616C-o", "#f4a261-p", "#f4a261-q", "#f4a261-r", "#f4a261-s", "#EF616C-t", "#EF616C-u", "#EF616C-v", "#EF616C-w", "#f4a261-x" ];

But Airtable creates only one unique item with all the values inside:
7b88f6b902d38e7ed089d3d12dcc492f78052039.png

How it should be:
6637aef7193879be92dc8b2d2dd82d507795c560.png

How I should format the array to make sure Airtable will separate the items by comma ?

Thanks.

1 Reply 1
MrLuke
6 - Interface Innovator
6 - Interface Innovator

I know this is an old topic, but it's also something I'm trying to accomplish!