Open
Description
Hi there!
I've been trying to get active values for a multipleSelects
type field. For this type, records.fields element never contains a value. With a direct call via records.get the value is always undefined. Here is the minimal reproduction code:
const airtable = new Airtable({ apiKey: someApiKey });
const base = airtable.base('someBaseId');
const response = await this.table.find('id');
const table = base.table('Candidates');
const fieldValue = response.get('Field with multipleSelects type') // always returns undefined
console.log(fieldValue);
Also, .update call for multipleSelects
type doesn't seem to take any effect when passing an array of values, but on attempt to pass a string it returns an error saying:
Cannot parse value for field Field with multipleSelects type(INVALID_VALUE_FOR_COLUMN)[Http code 422]
so it looks like the correct way to pass the values is the array type.
Since this functionality works for singleSelect record type it's most likely a bug.
Metadata
Metadata
Assignees
Labels
No labels