From 2b59582194fc5c23140f52c42c793c324856a35e Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Tue, 25 Nov 2025 22:04:56 +0900
Subject: (김준회) 벤더풀&AVL 구매 추가요청사항 반영
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../discipline-hardcoded-selector.tsx              | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 components/common/discipline-hardcoded/discipline-hardcoded-selector.tsx

(limited to 'components/common/discipline-hardcoded/discipline-hardcoded-selector.tsx')

diff --git a/components/common/discipline-hardcoded/discipline-hardcoded-selector.tsx b/components/common/discipline-hardcoded/discipline-hardcoded-selector.tsx
new file mode 100644
index 00000000..6de0a285
--- /dev/null
+++ b/components/common/discipline-hardcoded/discipline-hardcoded-selector.tsx
@@ -0,0 +1,48 @@
+'use client'
+
+import {
+  Select,
+  SelectContent,
+  SelectItem,
+  SelectTrigger,
+  SelectValue,
+} from '@/components/ui/select'
+import { HARDCODED_DISCIPLINES, HardcodedDiscipline } from './discipline-data'
+
+export interface DisciplineHardcodedSelectorProps {
+  selectedDiscipline?: string
+  onDisciplineSelect: (discipline: string) => void
+  disabled?: boolean
+  placeholder?: string
+  className?: string
+}
+
+export function DisciplineHardcodedSelector({ 
+  selectedDiscipline, 
+  onDisciplineSelect, 
+  disabled,
+  placeholder = "설계공종 선택",
+  className
+}: DisciplineHardcodedSelectorProps) {
+  
+  return (
+    <Select
+      value={selectedDiscipline}
+      onValueChange={onDisciplineSelect}
+      disabled={disabled}
+    >
+      <SelectTrigger className={`w-full ${className || ''}`}>
+        <SelectValue placeholder={placeholder}>
+          {selectedDiscipline || <span className="text-muted-foreground">{placeholder}</span>}
+        </SelectValue>
+      </SelectTrigger>
+      <SelectContent>
+        {HARDCODED_DISCIPLINES.map((discipline) => (
+          <SelectItem key={discipline} value={discipline}>
+            {discipline}
+          </SelectItem>
+        ))}
+      </SelectContent>
+    </Select>
+  )
+}
-- 
cgit v1.2.3

