mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
same thing for compose
This commit is contained in:
committed by
GitHub
parent
4f3eb7b362
commit
fac984d299
@@ -137,7 +137,7 @@ export const AddCompose = ({ projectId, projectName }: Props) => {
|
|||||||
placeholder="Frontend"
|
placeholder="Frontend"
|
||||||
{...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