feat: add description handling to VariableSelector and OptionCombobox for improved option clarity
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user