export function GateSelect({ roadmapItems = [], name = 'roadmap_item_id', defaultValue = '', label = 'Zielzustand (Gate)', allowEmpty = true, disabled = false, }) { if (roadmapItems.length === 0) return null return ( ) } export function gateTitleById(roadmapItems, gateId) { if (!gateId) return null return roadmapItems.find((item) => item.id === gateId)?.title || null }