Skip to content

Commit 6fa6f05

Browse files
committed
Adding fallback field description to additionalProps
1 parent 8b45320 commit 6fa6f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/airtable_oauth/common/utils.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function fieldToProp(field) {
7070
return {
7171
type: fieldTypeToPropType(field.type),
7272
label: field.name,
73-
description: field.description,
73+
description: field.description ?? `Field type: \`${field.type}\`. Field ID: \`${field.id}\``,
7474
optional: true,
7575
options: field.options?.choices?.map((choice) => ({
7676
label: choice.name || choice.id,

0 commit comments

Comments
 (0)