From 828a8273ee4afd069bdc8bd2386bc413ffa150bb Mon Sep 17 00:00:00 2001 From: Ryderjj89 Date: Fri, 16 May 2025 21:19:14 -0400 Subject: [PATCH] Ensure guest name fields are disabled when event is closed --- frontend/src/components/RSVPEditForm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/RSVPEditForm.tsx b/frontend/src/components/RSVPEditForm.tsx index 5e0902e..28a2b1d 100644 --- a/frontend/src/components/RSVPEditForm.tsx +++ b/frontend/src/components/RSVPEditForm.tsx @@ -512,6 +512,7 @@ const RSVPEditForm: React.FC = () => { value={formData.guest_names[index] || ''} onChange={handleChange} required + disabled={isEventClosed} // Disable if event is closed /> ))}