From 2085b5573745cdc0d11b374ce6c4cdedc2f27b59 Mon Sep 17 00:00:00 2001 From: robinvandermolen Date: Fri, 8 Nov 2024 12:25:53 +0100 Subject: [PATCH] :label: [open-formulieren/open-forms#4813] Added PrefillConfig to BaseNumberComponentSchema --- src/formio/components/number.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/formio/components/number.ts b/src/formio/components/number.ts index c3f1268..140bbe3 100644 --- a/src/formio/components/number.ts +++ b/src/formio/components/number.ts @@ -1,4 +1,4 @@ -import {InputComponentSchema} from '..'; +import {InputComponentSchema, PrefillConfig} from '..'; type Validator = 'required' | 'min' | 'max'; type TranslatableKeys = 'label' | 'description' | 'tooltip' | 'suffix'; @@ -10,7 +10,8 @@ export type NumberInputSchema = InputComponentSchema { + extends Omit, + PrefillConfig { type: 'number'; defaultValue?: number | null; /*