From 847fc2c190e5c5092a7ddf41916f72a0eb4afad0 Mon Sep 17 00:00:00 2001 From: zmeyer44 Date: Tue, 31 Oct 2023 07:16:45 -0400 Subject: [PATCH] add autofocus to event name --- components/Modals/CreateCalendarEvent.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Modals/CreateCalendarEvent.tsx b/components/Modals/CreateCalendarEvent.tsx index ca39faa..9c3758a 100644 --- a/components/Modals/CreateCalendarEvent.tsx +++ b/components/Modals/CreateCalendarEvent.tsx @@ -200,6 +200,7 @@ export default function CreateCalendarEventModal() { ref={titleRef} value={title} onChange={(e) => setTitle(e.target.value)} + autoFocus={true} placeholder="Event Name" className={cn( "invisible-input !text-3xl font-bold text-foreground outline-none placeholder:text-muted-foreground/50 placeholder:hover:text-muted-foreground/80",