From 4eebc69ff3c27b0a3dbb0576dc0009c5a50cdff4 Mon Sep 17 00:00:00 2001 From: Alvaro Saburido Date: Tue, 6 Oct 2020 17:20:14 +0200 Subject: [PATCH 1/2] fix(custom-field): bring back name --- src/core/models.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/models.ts b/src/core/models.ts index cc5ecc0..6889485 100644 --- a/src/core/models.ts +++ b/src/core/models.ts @@ -40,6 +40,7 @@ export interface FormValidation { } export interface InputBase { + name: string; label?: string; disabled?: boolean; customClass?: string; @@ -80,7 +81,7 @@ export type CheckboxInput = InputBase & { export type CustomInput = InputBase & { type: 'custom-field'; - value: boolean | string | number; + value: boolean | string; }; export type EmailInput = InputBase & { From 8ddcadd297f4c66e3e3bb8657db31ebabbe9b798 Mon Sep 17 00:00:00 2001 From: Alvaro Saburido Date: Tue, 6 Oct 2020 17:21:48 +0200 Subject: [PATCH 2/2] fix(custom-fields): emm --- src/core/models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/models.ts b/src/core/models.ts index 6889485..3b74a26 100644 --- a/src/core/models.ts +++ b/src/core/models.ts @@ -81,7 +81,7 @@ export type CheckboxInput = InputBase & { export type CustomInput = InputBase & { type: 'custom-field'; - value: boolean | string; + value: boolean | string | number; }; export type EmailInput = InputBase & {