From 8b3e093a815341fd365bce962f37e6799a750abd Mon Sep 17 00:00:00 2001 From: Aashish <59650752+Aashish-png@users.noreply.github.com> Date: Mon, 13 Oct 2025 00:23:33 +0530 Subject: [PATCH] Update open-text-question.tsx removed this line input.setCustomValidity(""); since it was alreayd happening inside the handleInputChange --- packages/surveys/src/components/questions/open-text-question.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/surveys/src/components/questions/open-text-question.tsx b/packages/surveys/src/components/questions/open-text-question.tsx index fb2221f151..bc3249ff0b 100644 --- a/packages/surveys/src/components/questions/open-text-question.tsx +++ b/packages/surveys/src/components/questions/open-text-question.tsx @@ -116,7 +116,6 @@ export function OpenTextQuestion({ const input = e.currentTarget; handleInputChange(input.value); if (question.inputType === "email") { - input.setCustomValidity(""); if (input.validity.typeMismatch || input.validity.patternMismatch) { input.setCustomValidity(t("errors.please_enter_a_valid_email_address")); }