From 0c6ef64707100ac4424927d2432cdbfacc5b82d0 Mon Sep 17 00:00:00 2001 From: Nikki Ysendoorn Date: Mon, 11 Mar 2024 12:32:56 +0100 Subject: [PATCH] :sparkles: [#483] add type description to option and translation --- src/formio/common.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/formio/common.ts b/src/formio/common.ts index 388cf49..bc9cbae 100644 --- a/src/formio/common.ts +++ b/src/formio/common.ts @@ -7,8 +7,9 @@ import {ComponentTranslations} from './i18n'; export interface Option { value: string; label: string; + description?: string; openForms?: { - translations: ComponentTranslations<'label'>; + translations: ComponentTranslations<'label' | 'description'>; }; }