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
-
+
Service account JSON credentials for authentication.
diff --git a/app/client/modules/volumes/components/create-volume-form.tsx b/app/client/modules/volumes/components/create-volume-form.tsx
index 8c66151e..5fd9ca60 100644
--- a/app/client/modules/volumes/components/create-volume-form.tsx
+++ b/app/client/modules/volumes/components/create-volume-form.tsx
@@ -51,7 +51,10 @@ const defaultValuesForType = {
export const CreateVolumeForm = ({ onSubmit, mode = "create", initialValues, formId, loading, className }: Props) => {
const form = useForm({
resolver: arktypeResolver(cleanSchema as unknown as typeof formSchema),
- defaultValues: initialValues,
+ defaultValues: initialValues || {
+ name: "",
+ backend: "directory",
+ },
resetOptions: {
keepDefaultValues: true,
keepDirtyValues: false,
@@ -115,8 +118,8 @@ export const CreateVolumeForm = ({ onSubmit, mode = "create", initialValues, for
{...field}
placeholder="Volume name"
onChange={(e) => field.onChange(slugify(e.target.value))}
- max={32}
- min={1}
+ maxLength={32}
+ minLength={2}
/>
Unique identifier for the volume.
@@ -127,10 +130,11 @@ export const CreateVolumeForm = ({ onSubmit, mode = "create", initialValues, for
(
Backend
-