Skip to content

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

Checks for length before making input copyable

Terry Sutton0c14b4d56b1b
diff --git a/studio/pages/new/[slug].tsx b/studio/pages/new/[slug].tsx
index d15d6180fc2..c58cdb1ed7b 100644
--- a/studio/pages/new/[slug].tsx
+++ b/studio/pages/new/[slug].tsx
@@ -290,7 +290,7 @@ const Wizard: NextPageWithLayout = () => {
<Panel.Content className="border-b Form section-block--body has-inputs-centered border-panel-border-interior-light dark:border-panel-border-interior-dark">
<Input
id="password"
- copy
+ copy={dbPass.length > 0}
layout="horizontal"
label="Database Password"
type="password"