@@ -169,8 +169,8 @@ const emit = defineEmits<OdkWebFormEmits>();
169169const getLocation = async (): Promise <string > => {
170170 let point = ' ' ;
171171 try {
172- point = await geolocationService .getBestGeopoint ();
173172 geolocationErrorMessage .value = ' ' ;
173+ point = await geolocationService .getBestGeopoint ();
174174 } catch {
175175 // TODO: translations
176176 geolocationErrorMessage .value =
@@ -233,8 +233,8 @@ const validationErrorMessage = computed(() => {
233233
234234 // TODO: translations
235235 if (violationLength === 0 ) return ' ' ;
236- else if (violationLength === 1 ) return ' 1 question with error' ;
237- else return ` ${violationLength } questions with errors ` ;
236+ else if (violationLength === 1 ) return ' 1 question with error. ' ;
237+ else return ` ${violationLength } questions with errors. ` ;
238238});
239239
240240watchEffect (() => {
@@ -289,8 +289,10 @@ onUnmounted(() => {
289289 @close =" floatingErrorActive = false"
290290 >
291291 <IconSVG name =" mdiAlertCircleOutline" variant =" error" />
292- <span v-if =" validationErrorMessage?.length" >{{ validationErrorMessage }}</span >
293- <span v-if =" geolocationErrorMessage?.length" >{{ geolocationErrorMessage }}</span >
292+ <span class =" form-error-text-wrap" >
293+ <span v-if =" validationErrorMessage?.length" >{{ validationErrorMessage }}</span >
294+ <span v-if =" geolocationErrorMessage?.length" >{{ geolocationErrorMessage }}</span >
295+ </span >
294296 </Message >
295297
296298 <FormHeader :form =" state.root" />
@@ -386,6 +388,11 @@ onUnmounted(() => {
386388 .odk-icon {
387389 margin-right : 10px ;
388390 }
391+
392+ .form-error-text-wrap {
393+ display : flex ;
394+ flex-direction : column ;
395+ }
389396 }
390397 }
391398
0 commit comments