mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-22 11:58:46 +00:00
and for database
This commit is contained in:
@@ -341,7 +341,7 @@ export const AddDatabase = ({ projectId, projectName }: Props) => {
|
|||||||
placeholder="Name"
|
placeholder="Name"
|
||||||
{...field}
|
{...field}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const val = e.target.value?.trim() || "";
|
const val = e.target.value?.trim().toLowerCase() || "";
|
||||||
form.setValue("appName", `${slug}-${val}`);
|
form.setValue("appName", `${slug}-${val}`);
|
||||||
field.onChange(val);
|
field.onChange(val);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user