From 302381b23d4207f6c3e102210d372e8c5dc43177 Mon Sep 17 00:00:00 2001 From: swcho Date: Mon, 23 Jun 2025 18:46:19 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20SelectBox=20=EC=BB=B4=ED=8F=AC=EB=84=8C?= =?UTF-8?q?=ED=8A=B8=20readOnly=20=EC=86=8D=EC=84=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/business_components/src/ui/select/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/common/business_components/src/ui/select/index.tsx b/packages/common/business_components/src/ui/select/index.tsx index ee6296677..f29ae921a 100644 --- a/packages/common/business_components/src/ui/select/index.tsx +++ b/packages/common/business_components/src/ui/select/index.tsx @@ -16,15 +16,16 @@ const SelectBox = React.forwardRef< className:string, selectArray:SelectBox1[], onSelectValue:(val:string|number)=>void, - value?: string|number + value?: string|number, + readOnly?: boolean // readOnly 속성 추가 } ->(({ label, className, selectClass, selectArray, onSelectValue, value }, ref)=>{ +>(({ label, className, selectClass, selectArray, onSelectValue, value, readOnly = false }, ref)=>{ const placeHolder = selectArray?.[0]?.text ?? ""; return (
{label && } -