Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Disable FormActions buttons when submitting

Joshen Lim0b509410d823
diff --git a/studio/components/ui/Forms/FormActions.tsx b/studio/components/ui/Forms/FormActions.tsx
index d42d793a923..02e09e83b2c 100644
--- a/studio/components/ui/Forms/FormActions.tsx
+++ b/studio/components/ui/Forms/FormActions.tsx
@@ -17,7 +17,7 @@ const FormActions = ({
disabled = false,
isSubmitting,
}: Props) => {
- const isDisabled = disabled || (!hasChanges && hasChanges !== undefined)
+ const isDisabled = isSubmitting || disabled || (!hasChanges && hasChanges !== undefined)
return (
<div