diff --git a/src/components/Playground.jsx b/src/components/Playground.jsx index d84f99c5..64aeab0f 100644 --- a/src/components/Playground.jsx +++ b/src/components/Playground.jsx @@ -536,6 +536,9 @@ export default function Playground() {
+
+ +
diff --git a/src/components/common/select/QSelectBox.jsx b/src/components/common/select/QSelectBox.jsx index 7be890b9..ece8b1bf 100644 --- a/src/components/common/select/QSelectBox.jsx +++ b/src/components/common/select/QSelectBox.jsx @@ -33,6 +33,7 @@ export default function QSelectBox({ * @returns {string} 초기 상태 */ const handleInitState = () => { + if (options.length === 0) return title !== '' ? title : '선택하세요.' if (showKey !== '' && !value) { //value가 없으면 showKey가 있으면 우선 보여준다 return options[0][showKey]