From 7f378b12ae72a0591c7bde72ce7943aca5965c3a Mon Sep 17 00:00:00 2001 From: Michiel Crefcoeur Date: Mon, 16 Sep 2024 07:37:23 -0700 Subject: [PATCH] and for database --- apps/dokploy/components/dashboard/project/add-database.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/project/add-database.tsx b/apps/dokploy/components/dashboard/project/add-database.tsx index e6b36e63..9f93aa1f 100644 --- a/apps/dokploy/components/dashboard/project/add-database.tsx +++ b/apps/dokploy/components/dashboard/project/add-database.tsx @@ -341,7 +341,7 @@ export const AddDatabase = ({ projectId, projectName }: Props) => { placeholder="Name" {...field} onChange={(e) => { - const val = e.target.value?.trim() || ""; + const val = e.target.value?.trim().toLowerCase() || ""; form.setValue("appName", `${slug}-${val}`); field.onChange(val); }}