From da979728bf1b77eada7a09fa0d0e498abd5a1f1d Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Wed, 10 Dec 2025 21:09:53 +0100 Subject: [PATCH] chore: pr feedbacks --- .../components/create-repository-form.tsx | 4 ++-- .../repository-forms/gcs-repository-form.tsx | 3 ++- .../volumes/components/create-volume-form.tsx | 12 ++++++++---- .../volumes/components/volume-forms/rclone-form.tsx | 2 +- .../volumes/components/volume-forms/smb-form.tsx | 3 +-- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/app/client/modules/repositories/components/create-repository-form.tsx b/app/client/modules/repositories/components/create-repository-form.tsx index 7826c0f3..dc99c6d4 100644 --- a/app/client/modules/repositories/components/create-repository-form.tsx +++ b/app/client/modules/repositories/components/create-repository-form.tsx @@ -109,8 +109,8 @@ export const CreateRepositoryForm = ({ {...field} placeholder="Repository name" onChange={(e) => field.onChange(slugify(e.target.value))} - max={32} - min={2} + maxLength={32} + minLength={2} /> Unique identifier for the repository. diff --git a/app/client/modules/repositories/components/repository-forms/gcs-repository-form.tsx b/app/client/modules/repositories/components/repository-forms/gcs-repository-form.tsx index 5131574d..42ee8de7 100644 --- a/app/client/modules/repositories/components/repository-forms/gcs-repository-form.tsx +++ b/app/client/modules/repositories/components/repository-forms/gcs-repository-form.tsx @@ -8,6 +8,7 @@ import { FormMessage, } from "../../../../components/ui/form"; import { Input } from "../../../../components/ui/input"; +import { Textarea } from "../../../../components/ui/textarea"; import type { RepositoryFormValues } from "../create-repository-form"; type Props = { @@ -52,7 +53,7 @@ export const GCSRepositoryForm = ({ form }: Props) => { Service Account JSON - +