summaryrefslogtreecommitdiff
path: root/client/src/components/RsvpForm.tsx
diff options
context:
space:
mode:
authorMichael Hunteman <michael@mac-mini.local>2025-01-18 16:45:01 -0600
committerMichael Hunteman <michael@mac-mini.local>2025-01-18 16:45:01 -0600
commit07523a8e814b559e0fb300b4d9aa51d8327578c2 (patch)
tree72de2f0a61751df83f7c47a045730324cb169e0d /client/src/components/RsvpForm.tsx
parent3d79a18ea4a3f9c85f1be230d711f7bfe1dc18d5 (diff)
Add read only fieldsHEADmaster
Diffstat (limited to 'client/src/components/RsvpForm.tsx')
-rw-r--r--client/src/components/RsvpForm.tsx18
1 files changed, 18 insertions, 0 deletions
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