diff --git a/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx b/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx index b6e3ac65..d7ee4136 100644 --- a/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx +++ b/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx @@ -125,7 +125,7 @@ export default function QuestionsPageCard({ placeholder={`Заголовок ${questionIndex + 1} вопроса`} defaultValue={question.title} onChange={({ target }) => { - if(target.value <= 225)setTitle(target.value) + if(target.value,toString().length <= 225)setTitle(target.value) }} sx={{ width: "100%",