--
This commit is contained in:
parent
25348fd8a7
commit
0221e61843
@ -125,7 +125,7 @@ export default function QuestionsPageCard({
|
|||||||
placeholder={`Заголовок ${questionIndex + 1} вопроса`}
|
placeholder={`Заголовок ${questionIndex + 1} вопроса`}
|
||||||
defaultValue={question.title}
|
defaultValue={question.title}
|
||||||
onChange={({ target }) => {
|
onChange={({ target }) => {
|
||||||
if(target.value <= 225)setTitle(target.value)
|
if(target.value,toString().length <= 225)setTitle(target.value)
|
||||||
}}
|
}}
|
||||||
sx={{
|
sx={{
|
||||||
width: "100%",
|
width: "100%",
|
||||||
|
Loading…
Reference in New Issue
Block a user