Skip to content

field with type multipleSelects always returns undefined instead of a value #384

Open
@VoVaVc

Description

@VoVaVc

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions