same thing for compose

This commit is contained in:
Michiel Crefcoeur
2024-09-16 07:35:59 -07:00
committed by GitHub
parent 4f3eb7b362
commit fac984d299

View File

@@ -137,7 +137,7 @@ export const AddCompose = ({ projectId, projectName }: Props) => {
placeholder="Frontend"
{...field}
onChange={(e) => {
const val = e.target.value?.trim() || "";
const val = e.target.value?.trim().toLowerCase() || "";
form.setValue("appName", `${slug}-${val}`);
field.onChange(val);
}}