Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Add rows and maxLength to folder description textarea (#2993)

Marcus Farrelld2b72a851894
diff --git a/apps/web/ui/folders/edit-folder-form.tsx b/apps/web/ui/folders/edit-folder-form.tsx
index 4ce73c08f8..1d2d695f58 100644
--- a/apps/web/ui/folders/edit-folder-form.tsx
+++ b/apps/web/ui/folders/edit-folder-form.tsx
@@ -77,6 +77,8 @@ export function EditFolderForm({
</span>
<textarea
className="mt-2 block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
+ rows={4}
+ maxLength={FOLDER_MAX_DESCRIPTION_LENGTH}
onKeyDown={handleKeyDown}
{...register("description", {
maxLength: FOLDER_MAX_DESCRIPTION_LENGTH,