mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
and for database
This commit is contained in:
committed by
GitHub
parent
fac984d299
commit
7f378b12ae
@@ -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);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user