diff --git a/apps/web/app/environments/[environmentId]/surveys/[surveyId]/edit/UpdateQuestionId.tsx b/apps/web/app/environments/[environmentId]/surveys/[surveyId]/edit/UpdateQuestionId.tsx index a4fe4ab0ce..8f7d886f0f 100644 --- a/apps/web/app/environments/[environmentId]/surveys/[surveyId]/edit/UpdateQuestionId.tsx +++ b/apps/web/app/environments/[environmentId]/surveys/[surveyId]/edit/UpdateQuestionId.tsx @@ -30,13 +30,14 @@ export default function UpdateQuestionId({ localSurvey, question, questionIdx, u value={currentValue} onChange={(e) => setCurrentValue(e.target.value)} disabled={localSurvey.status !== "draft"} + className={currentValue.includes(" ") ? "focus:border-red-300 border-red-300" : ""} /> {localSurvey.status === "draft" && ( )}