From 07523a8e814b559e0fb300b4d9aa51d8327578c2 Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@mac-mini.local>
Date: Sat, 18 Jan 2025 16:45:01 -0600
Subject: Add read only fields

---
 client/src/components/RsvpForm.tsx | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

(limited to 'client/src/components/RsvpForm.tsx')

diff --git a/client/src/components/RsvpForm.tsx b/client/src/components/RsvpForm.tsx
index a754be5..84b05e0 100644
--- a/client/src/components/RsvpForm.tsx
+++ b/client/src/components/RsvpForm.tsx
@@ -214,6 +214,24 @@ function RsvpForm() {
               {...register('message')}
             />
           </Grid>
+          <Grid item xs={6}>
+            <TextField
+              label="First Name"
+              variant="outlined"
+              fullWidth
+              inputProps={{ readOnly: true }}
+              {...register('firstName')}
+            />
+          </Grid>
+          <Grid item xs={6}>
+            <TextField
+              label="Last Name"
+              variant="outlined"
+              fullWidth
+              inputProps={{ readOnly: true }}
+              {...register('lastName')}
+            />
+          </Grid>
           {fields.map((field, index) => {
             return (
               <Grid
-- 
cgit v1.2.3

