fix lowercase with url

This commit is contained in:
Simon Larsen 2023-08-12 09:09:52 +01:00
parent 4499f7ca93
commit a309d64e19
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -300,10 +300,7 @@ const BasicForm: ForwardRefExoticComponent<any> = 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] = (