diff --git a/egovframe-template-simple-react-contribution/src/pages/admin/board/AdminPostMgtEdit.jsx b/egovframe-template-simple-react-contribution/src/pages/admin/board/AdminPostMgtEdit.jsx index 8f8af12..0d4d805 100644 --- a/egovframe-template-simple-react-contribution/src/pages/admin/board/AdminPostMgtEdit.jsx +++ b/egovframe-template-simple-react-contribution/src/pages/admin/board/AdminPostMgtEdit.jsx @@ -153,7 +153,7 @@ function AdminPostMgtEdit({props, reloadFunction, searchCondition}) { const [selectedBbsSeq, setSelectedBbsSeq] = useState(props?.selectedBbsSeq ? props?.selectedBbsSeq : props?.bbsSeq); const handleSelectChange = (e) => { - const selectedBbsSeq = e.target.key; + const selectedBbsSeq = e.target.selectedOptions[0].dataset.bbsSeq; setSelectedBbsSeq(selectedBbsSeq); } @@ -235,7 +235,7 @@ function AdminPostMgtEdit({props, reloadFunction, searchCondition}) {