File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
apps/pyconkr-admin/src/components/pages/presentation Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ const PresentationSpeakerForm: React.FC<PresentationSpeakerFormPropType> = ({ di
96
96
label : item . title ,
97
97
} ) ) ;
98
98
const currentSelectedImage = imageOptions . find ( ( u ) => u . value === speaker . image ?. toString ( ) ) ;
99
- console . log ( userOptions , currentSelectedUser , speaker ) ;
100
99
101
100
const bioField = formState . tab === "ko" ? "biography_ko" : "biography_en" ;
102
101
const onSpeakerBioChange = ( value ?: string ) => onChange ( { ...speaker , [ bioField ] : value || "" } ) ;
@@ -116,15 +115,15 @@ const PresentationSpeakerForm: React.FC<PresentationSpeakerFormPropType> = ({ di
116
115
defaultValue = { currentSelectedUser }
117
116
value = { currentSelectedUser }
118
117
onChange = { onSpeakerChange ( "user" ) }
119
- inputValue = { currentSelectedUser ?. label || "" }
118
+ // inputValue={currentSelectedUser?.label || ""}
120
119
options = { userOptions }
121
120
renderInput = { ( params ) => < TextField { ...params } label = "발표자" /> }
122
121
/>
123
122
< Autocomplete
124
123
fullWidth
125
124
defaultValue = { currentSelectedImage }
126
125
value = { currentSelectedImage }
127
- inputValue = { currentSelectedImage ?. label || "" }
126
+ // inputValue={currentSelectedImage?.label || ""}
128
127
options = { imageOptions }
129
128
renderInput = { ( params ) => < TextField { ...params } label = "발표자 이미지" /> }
130
129
onChange = { onSpeakerChange ( "image" ) }
You can’t perform that action at this time.
0 commit comments