From a309d64e19551c7ea42d36ccbec339886bb85cbd Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Sat, 12 Aug 2023 09:09:52 +0100 Subject: [PATCH] fix lowercase with url --- CommonUI/src/Components/Forms/BasicForm.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CommonUI/src/Components/Forms/BasicForm.tsx b/CommonUI/src/Components/Forms/BasicForm.tsx index ff2cf51195..bb76dd14d9 100644 --- a/CommonUI/src/Components/Forms/BasicForm.tsx +++ b/CommonUI/src/Components/Forms/BasicForm.tsx @@ -300,10 +300,7 @@ const BasicForm: ForwardRefExoticComponent = forwardRef( } } - if ( - field.fieldType === FormFieldSchemaType.Email || - field.fieldType === FormFieldSchemaType.URL - ) { + if (field.fieldType === FormFieldSchemaType.Email) { const fieldName: string = field.name!; if ((values as any)[fieldName]) { (values as any)[fieldName] = (