This commit is contained in:
Nastya 2024-02-17 03:26:17 +03:00
parent 25348fd8a7
commit 0221e61843

@ -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%",