MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getTabValue

Function getTabValue

packages/ui/src/views/canvas/NodeInputHandler.jsx:489–493  ·  view source on GitHub ↗
(inputParam)

Source from the content-addressed store, hash-verified

487 }
488
489 const getTabValue = (inputParam) => {
490 return inputParam.tabs.findIndex((item) => item.name === data.inputs[`${inputParam.tabIdentifier}_${data.id}`]) >= 0
491 ? inputParam.tabs.findIndex((item) => item.name === data.inputs[`${inputParam.tabIdentifier}_${data.id}`])
492 : tabValue
493 }
494
495 const onEditJSONClicked = (value, inputParam) => {
496 // Preset values if the field is format prompt values

Callers 1

NodeInputHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected