Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
090ec6c4
Commit
090ec6c4
authored
Jul 28, 2022
by
Yoon, Daeki
😅
Browse files
question select 윗부분 제거
parent
0c9bb460
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/questions/Question.tsx
View file @
090ec6c4
...
...
@@ -173,25 +173,6 @@ export const Question = ({
onChange
=
{
handleQuestionInfo
}
disabled
=
{
!
isEditing
}
></
input
>
<
select
id
=
{
question
.
_id
}
name
=
"type"
onChange
=
{
handleSelect
}
disabled
=
{
!
isEditing
}
value
=
{
question
.
type
}
className
=
"w-32 md:w-36 bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-themeColor w-full mr-3 p-2.5"
>
{
Array
.
from
(
QUESTION_TYPES
.
entries
()).
map
(([
key
,
value
])
=>
(
<
option
key
=
{
key
}
id
=
{
question
.
_id
}
value
=
{
key
}
// selected={key === element.type}
>
{
value
}
</
option
>
))
}
</
select
>
</
div
>
<
div
className
=
"flex w-full justify-center"
>
<
input
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment