diff --git a/packages/surveys/src/components/questions/CTAQuestion.tsx b/packages/surveys/src/components/questions/CTAQuestion.tsx index 7d4036fb6c..a266fc3536 100644 --- a/packages/surveys/src/components/questions/CTAQuestion.tsx +++ b/packages/surveys/src/components/questions/CTAQuestion.tsx @@ -37,7 +37,7 @@ export default function CTAQuestion({ useTtc(question.id, ttc, setTtc, startTime, setStartTime); return ( -
+
{question.imageUrl && } diff --git a/packages/surveys/src/components/questions/CalQuestion.tsx b/packages/surveys/src/components/questions/CalQuestion.tsx index 6186122a6c..eebc872fde 100644 --- a/packages/surveys/src/components/questions/CalQuestion.tsx +++ b/packages/surveys/src/components/questions/CalQuestion.tsx @@ -48,6 +48,7 @@ export default function CalQuestion({ return (
{ e.preventDefault(); if (question.required && !value) { diff --git a/packages/surveys/src/components/questions/ConsentQuestion.tsx b/packages/surveys/src/components/questions/ConsentQuestion.tsx index 572f5bd0ab..67a1dd16e8 100644 --- a/packages/surveys/src/components/questions/ConsentQuestion.tsx +++ b/packages/surveys/src/components/questions/ConsentQuestion.tsx @@ -37,7 +37,7 @@ export default function ConsentQuestion({ useTtc(question.id, ttc, setTtc, startTime, setStartTime); return ( -
+
{question.imageUrl && } diff --git a/packages/surveys/src/components/questions/DateQuestion.tsx b/packages/surveys/src/components/questions/DateQuestion.tsx index 0d8379a48b..3aefabae60 100644 --- a/packages/surveys/src/components/questions/DateQuestion.tsx +++ b/packages/surveys/src/components/questions/DateQuestion.tsx @@ -108,6 +108,7 @@ export default function DateQuestion({ return ( { e.preventDefault(); if (question.required && !value) { diff --git a/packages/surveys/src/components/questions/FileUploadQuestion.tsx b/packages/surveys/src/components/questions/FileUploadQuestion.tsx index 98ac4d9fa1..4c2f6872ae 100644 --- a/packages/surveys/src/components/questions/FileUploadQuestion.tsx +++ b/packages/surveys/src/components/questions/FileUploadQuestion.tsx @@ -45,6 +45,7 @@ export default function FileUploadQuestion({ return ( { e.preventDefault(); const updatedTtcObj = getUpdatedTtc(ttc, question.id, performance.now() - startTime); diff --git a/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx b/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx index a96d039d61..b61145e786 100644 --- a/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx +++ b/packages/surveys/src/components/questions/MultipleChoiceMultiQuestion.tsx @@ -109,6 +109,7 @@ export default function MultipleChoiceMultiQuestion({ return ( { e.preventDefault(); const newValue = (value as string[])?.filter((item) => { diff --git a/packages/surveys/src/components/questions/MultipleChoiceSingleQuestion.tsx b/packages/surveys/src/components/questions/MultipleChoiceSingleQuestion.tsx index bd68f5c6a4..f876a3738c 100644 --- a/packages/surveys/src/components/questions/MultipleChoiceSingleQuestion.tsx +++ b/packages/surveys/src/components/questions/MultipleChoiceSingleQuestion.tsx @@ -70,6 +70,7 @@ export default function MultipleChoiceSingleQuestion({ }, [otherSelected]); return ( { e.preventDefault(); const updatedTtcObj = getUpdatedTtc(ttc, question.id, performance.now() - startTime); diff --git a/packages/surveys/src/components/questions/NPSQuestion.tsx b/packages/surveys/src/components/questions/NPSQuestion.tsx index 55ccd8ea3d..8f2542ab54 100644 --- a/packages/surveys/src/components/questions/NPSQuestion.tsx +++ b/packages/surveys/src/components/questions/NPSQuestion.tsx @@ -40,6 +40,7 @@ export default function NPSQuestion({ return ( { e.preventDefault(); const updatedTtcObj = getUpdatedTtc(ttc, question.id, performance.now() - startTime); diff --git a/packages/surveys/src/components/questions/OpenTextQuestion.tsx b/packages/surveys/src/components/questions/OpenTextQuestion.tsx index 13596a0ba2..6f388765a4 100644 --- a/packages/surveys/src/components/questions/OpenTextQuestion.tsx +++ b/packages/surveys/src/components/questions/OpenTextQuestion.tsx @@ -59,6 +59,7 @@ export default function OpenTextQuestion({ return ( { e.preventDefault(); // if ( validateInput(value as string, question.inputType, question.required)) { diff --git a/packages/surveys/src/components/questions/PictureSelectionQuestion.tsx b/packages/surveys/src/components/questions/PictureSelectionQuestion.tsx index 87ef647ff6..abe636d356 100644 --- a/packages/surveys/src/components/questions/PictureSelectionQuestion.tsx +++ b/packages/surveys/src/components/questions/PictureSelectionQuestion.tsx @@ -88,6 +88,7 @@ export default function PictureSelectionQuestion({ return ( { e.preventDefault(); const updatedTtcObj = getUpdatedTtc(ttc, question.id, performance.now() - startTime); diff --git a/packages/surveys/src/components/questions/RatingQuestion.tsx b/packages/surveys/src/components/questions/RatingQuestion.tsx index 96c97dddaa..1e76e17af6 100644 --- a/packages/surveys/src/components/questions/RatingQuestion.tsx +++ b/packages/surveys/src/components/questions/RatingQuestion.tsx @@ -79,6 +79,7 @@ export default function RatingQuestion({ return ( { e.preventDefault(); const updatedTtcObj = getUpdatedTtc(ttc, question.id, performance.now() - startTime);