How do I get the values for custom field dropdowns on a card?
When I query for custom fields and they're dropdowns, this is what I get
"customFieldItems": [{
"id": "5fa07bddf31c3b69d32d7564",
"idValue": "5fa079eb3c04d6016ef994e3",
"idCustomField": "5fa079eb3c04d6016ef994e2",
"idModel": "5fa07a2956c88531d9d125be",
"modelType": "card"
},
I'm guessing I need to do something with idValue, but I have no clue how. The API docs don't really go into detail on dropdown custom fields.
This is one with a custom field date, and it has a clear value.
{
"id": "5fa07be5ad5b1f1ef10b73fe",
"value": {
"date": "2020-10-22T16:00:00.000Z"
},
"idCustomField": "5fa073a5eedccb1a273b7db2",
"idModel": "5fa07a2956c88531d9d125be",
"modelType": "card"
}
I don't understand why the difference.