diff --git a/packages/surveys/src/components/questions/open-text-question.tsx b/packages/surveys/src/components/questions/open-text-question.tsx index 97eb881e05..39a159209a 100644 --- a/packages/surveys/src/components/questions/open-text-question.tsx +++ b/packages/surveys/src/components/questions/open-text-question.tsx @@ -124,11 +124,8 @@ export function OpenTextQuestion({ }} className="fb-border-border placeholder:fb-text-placeholder fb-text-subheading focus:fb-border-brand fb-bg-input-bg fb-rounded-custom fb-block fb-w-full fb-border fb-p-2 fb-shadow-sm focus:fb-outline-none focus:fb-ring-0 sm:fb-text-sm" pattern={ - question.inputType === "phone" - ? "^[+]?\\d(?:[\\d\\-\\s]{7,}\\d)?$" - : question.inputType === "email" - ? "^(?!.*[.]{2})(?![.])[A-Za-z0-9._%+-]+(?