Skip to content

Commit

Permalink
🐛 Fix long problem edit page "x" included in answer issue
Browse files Browse the repository at this point in the history
MUI에서 aria-hidden으로 숨겨놓은 input이 있었음
  • Loading branch information
Kim-Hyunjo committed Jan 14, 2024
1 parent 387a700 commit b21d6ef
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ export const LongProblemEditPage = () => {
standardAnswers:
Array.from(
document.getElementsByClassName('standard-answer') as HTMLCollectionOf<HTMLInputElement>,
).map((e) => e.value) || [],
)
.filter((e) => !e.ariaHidden)
.map((e) => e.value) || [],
tags: tagState.filter((tag) => tag.isChecked).map((e) => e.id),
gradingStandards: [
...keywordStandardState.map(({ content, score, type }) => {
Expand Down

0 comments on commit b21d6ef

Please sign in to comment.