and for database

This commit is contained in:
Michiel Crefcoeur
2024-09-16 07:37:23 -07:00
committed by GitHub
parent fac984d299
commit 7f378b12ae

View File

@@ -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);
}}