@@ -132,8 +132,11 @@ function finish() {
132132
133133<template >
134134 <!-- Main container with responsive layout -->
135- <ConstrainedPage :responsiveUI =" api .config .responsiveUI " :width =" api .config .windowsizerRequest .width "
136- :height =" api .config .windowsizerRequest .height " >
135+ <ConstrainedPage
136+ :responsiveUI =" api .config .responsiveUI "
137+ :width =" api .config .windowsizerRequest .width "
138+ :height =" api .config .windowsizerRequest .height "
139+ >
137140 <!-- Two-column layout with title and form content -->
138141 <TitleTwoCol leftFirst leftWidth="w-1/3" :responsiveUI =" api .config .responsiveUI " >
139142 <!-- Page title and description section -->
@@ -177,11 +180,15 @@ function finish() {
177180 <label class =" block text-md font-semibold text-foreground mb-2" > Date of Birth </label >
178181 <Popover v-model :open =" isPopoverOpen " >
179182 <PopoverTrigger as-child>
180- <Button variant="secondary" :class =" cn (
181- ' w-full justify-start text-left font-normal text-base border border-input bg-background hover:bg-background' ,
182- ! api .persist .forminfo .dob && ' text-muted-foreground'
183- )
184- " >
183+ <Button
184+ variant="secondary"
185+ :class ="
186+ cn (
187+ ' w-full justify-start text-left font-normal text-base border border-input bg-background hover:bg-background' ,
188+ ! api .persist .forminfo .dob && ' text-muted-foreground'
189+ )
190+ "
191+ >
185192 <CalendarIcon class="mr-2 h-4 w-4" />
186193 {{ formattedDate }}
187194 </Button >
@@ -263,9 +270,7 @@ function finish() {
263270 <SelectItem value="I prefer not to say">I prefer not to say</SelectItem >
264271 </SelectContent >
265272 </Select >
266- <p class =" text-xs text-muted-foreground mt-1" >
267- Are you able to speak and understand English? (required)
268- </p >
273+ <p class =" text-xs text-muted-foreground mt-1" >Are you able to speak and understand English? (required)</p >
269274 </div >
270275
271276 <!-- Navigation section -->
@@ -279,8 +284,10 @@ function finish() {
279284 </div >
280285
281286 <!-- Page 2: Health and vision information -->
282- <div v-else-if =" api.pathString === 'survey_page2'"
283- class =" border border-border text-left bg-muted p-6 rounded-lg" >
287+ <div
288+ v-else-if =" api.pathString === 'survey_page2'"
289+ class =" border border-border text-left bg-muted p-6 rounded-lg"
290+ >
284291 <!-- Vision field -->
285292 <div class =" mb-3" >
286293 <label class =" block text-md font-semibold text-foreground mb-2" >
@@ -393,8 +400,10 @@ function finish() {
393400 </div >
394401
395402 <!-- Page 3: Location and background information -->
396- <div v-else-if =" api.pathString === 'survey_page3'"
397- class =" border border-border text-left bg-muted p-6 rounded-lg" >
403+ <div
404+ v-else-if =" api.pathString === 'survey_page3'"
405+ class =" border border-border text-left bg-muted p-6 rounded-lg"
406+ >
398407 <!-- Country field -->
399408 <div class =" mb-3" >
400409 <label class =" block text-md font-semibold text-foreground mb-2" > Country </label >
@@ -607,8 +616,12 @@ function finish() {
607616 <!-- Zipcode field -->
608617 <div class =" mb-3" >
609618 <label class =" block text-md font-semibold text-foreground mb-2" > Zipcode/Postal Code </label >
610- <input type =" text" v-model =" api.persist.forminfo.zipcode" placeholder =" Enter zip or postal code"
611- class =" w-full px-3 py-2 border border-input rounded-md bg-background focus:outline-none focus:ring-2 focus:ring-ring focus:border-ring" />
619+ <input
620+ type =" text"
621+ v-model =" api.persist.forminfo.zipcode"
622+ placeholder =" Enter zip or postal code"
623+ class =" w-full px-3 py-2 border border-input rounded-md bg-background focus:outline-none focus:ring-2 focus:ring-ring focus:border-ring"
624+ />
612625 <p class =" text-xs text-muted-foreground mt-1" >
613626 Select zipcode or postal code of your primary residence. (optional)
614627 </p >
0 commit comments