feat: add description handling to VariableSelector and OptionCombobox for improved option clarity

This commit is contained in:
mlogclub
2026-06-28 17:53:56 +08:00
parent 64f6e1686d
commit e38c19f8d8
3 changed files with 13 additions and 7 deletions
@@ -160,9 +160,6 @@ export function NodeConfigPanel({
})
}}
/>
{input.description ? (
<div className="text-xs text-muted-foreground">{input.description}</div>
) : null}
</div>
)
})}
@@ -25,6 +25,7 @@ export function VariableSelector({
const options = variables.map((variable) => ({
value: `${variable.nodeId}.${variable.field}`,
label: `${variable.nodeName}.${variable.label || variable.field}`,
description: variable.description,
}))
return (