Update IOInputField and IOFileInput components
This commit is contained in:
parent
07cbd593eb
commit
69b1c3714b
3 changed files with 3 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ export default function IOInputField({
|
|||
onChange={updateValue}
|
||||
/>
|
||||
);
|
||||
case "fileInput":
|
||||
case "fileLoader":
|
||||
return <IOFileInput field={field} updateValue={updateValue} />;
|
||||
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -3,5 +3,6 @@ import { IOFileInputProps } from "../../../types/components";
|
|||
export default function IOFileInput({ field, updateValue }: IOFileInputProps) {
|
||||
//component to handle file upload from chatIO
|
||||
function handleCLick() {}
|
||||
|
||||
return <div></div>;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -678,5 +678,5 @@ export const LANGFLOW_SUPPORTED_TYPES = new Set([
|
|||
|
||||
export const priorityFields = new Set(["code", "template"]);
|
||||
|
||||
export const INPUT_TYPES = new Set(["ChatInput", "TextInput"]);
|
||||
export const INPUT_TYPES = new Set(["ChatInput", "TextInput", "FileLoader"]);
|
||||
export const OUTPUT_TYPES = new Set(["ChatOutput"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue