The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Disable message send button when no input or attachment (#4019)
Kiran Kef9837f31322
diff --git a/apps/web/ui/shared/message-input.tsx b/apps/web/ui/shared/message-input.tsxindex 2b93ebbda0..ca770d98ca 100644--- a/apps/web/ui/shared/message-input.tsx+++ b/apps/web/ui/shared/message-input.tsx@@ -313,6 +313,7 @@ export function MessageInput({</span></span>}+ disabled={isSendDisabled}disabledTooltip={isTooLong? `Message must be less than ${nFormatter(MAX_MESSAGE_LENGTH)} characters`