mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-06 12:12:16 +00:00
same thing for compose
This commit is contained in:
@@ -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