remove развёрнутый ответ
This commit is contained in:
parent
ab1e221ada
commit
350b28cb6b
@ -147,21 +147,6 @@ const SettingTextField = memo<SettingTextFieldProps>(function ({ questionId, isR
|
|||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<CustomCheckbox
|
|
||||||
dataCy="checkbox-optional-question"
|
|
||||||
sx={{
|
|
||||||
display: isMobile ? "flex" : "block",
|
|
||||||
mr: isMobile ? "0px" : "16px",
|
|
||||||
alignItems: isMobile ? "flex-end" : "center",
|
|
||||||
}}
|
|
||||||
label={"Развёрнутый ответ"}
|
|
||||||
checked={!detailedAnswer}
|
|
||||||
handleChange={(e) => {
|
|
||||||
updateQuestion<QuizQuestionText>(questionId, (question) => {
|
|
||||||
question.content.detailedAnswer = !e.target.checked;
|
|
||||||
});
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<CustomCheckbox
|
<CustomCheckbox
|
||||||
dataCy="checkbox-optional-question"
|
dataCy="checkbox-optional-question"
|
||||||
sx={{
|
sx={{
|
||||||
|
Loading…
Reference in New Issue
Block a user