|
|
@ -92,6 +92,7 @@ export default function QuestionText({ |
|
|
)} |
|
|
)} |
|
|
> |
|
|
> |
|
|
<QuestionTitle question={question} /> |
|
|
<QuestionTitle question={question} /> |
|
|
|
|
|
<form autoComplete="off" onSubmit={(e) => e.preventDefault()}> |
|
|
<Input |
|
|
<Input |
|
|
type="text" |
|
|
type="text" |
|
|
inputMode="email" |
|
|
inputMode="email" |
|
|
@ -104,6 +105,7 @@ export default function QuestionText({ |
|
|
placeholder={question.extras.placeHolder} |
|
|
placeholder={question.extras.placeHolder} |
|
|
disabled={disabled || isMuted} |
|
|
disabled={disabled || isMuted} |
|
|
/> |
|
|
/> |
|
|
|
|
|
</form> |
|
|
{showInvalidState ? ( |
|
|
{showInvalidState ? ( |
|
|
<span className="block group-10 font-semibold text-[#F2465F]"> |
|
|
<span className="block group-10 font-semibold text-[#F2465F]"> |
|
|
{question.validation?.errorMessage || |
|
|
{question.validation?.errorMessage || |
|
|
@ -131,6 +133,7 @@ export default function QuestionText({ |
|
|
)} |
|
|
)} |
|
|
> |
|
|
> |
|
|
<QuestionTitle question={question} /> |
|
|
<QuestionTitle question={question} /> |
|
|
|
|
|
<form autoComplete="off" onSubmit={(e) => e.preventDefault()}> |
|
|
<Input |
|
|
<Input |
|
|
type={isNumericQuestion ? "tel" : "text"} |
|
|
type={isNumericQuestion ? "tel" : "text"} |
|
|
inputMode={isNumericQuestion ? "numeric" : "text"} |
|
|
inputMode={isNumericQuestion ? "numeric" : "text"} |
|
|
@ -145,6 +148,7 @@ export default function QuestionText({ |
|
|
isMuted && "opacity-50 cursor-not-allowed bg-[#F5F5F5] border-[#E2E8F0]", |
|
|
isMuted && "opacity-50 cursor-not-allowed bg-[#F5F5F5] border-[#E2E8F0]", |
|
|
)} |
|
|
)} |
|
|
/> |
|
|
/> |
|
|
|
|
|
</form> |
|
|
{isMarjaQuestion ? ( |
|
|
{isMarjaQuestion ? ( |
|
|
<div className="mt-2.5 flex items-center"> |
|
|
<div className="mt-2.5 flex items-center"> |
|
|
<label className="flex cursor-pointer items-center gap-2 select-none active:scale-[0.99] transition-all"> |
|
|
<label className="flex cursor-pointer items-center gap-2 select-none active:scale-[0.99] transition-all"> |
|
|
|