mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-02 02:25:31 +08:00
Feat: The value of data operations operators can be either input or referenced from variables. #10427 (#11037)
### What problem does this PR solve? Feat: The value of data operations operators can be either input or referenced from variables. #10427 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -6,6 +6,7 @@ import { X } from 'lucide-react';
|
||||
import { ReactNode } from 'react';
|
||||
import { useFieldArray, useFormContext } from 'react-hook-form';
|
||||
import { DynamicFormHeader } from '../components/dynamic-fom-header';
|
||||
import { PromptEditor } from '../components/prompt-editor';
|
||||
|
||||
type SelectKeysProps = {
|
||||
name: string;
|
||||
@ -47,7 +48,7 @@ export function Updates({
|
||||
</RAGFlowFormItem>
|
||||
<Separator className="w-2" />
|
||||
<RAGFlowFormItem name={valueFieldAlias} className="flex-1">
|
||||
<Input></Input>
|
||||
<PromptEditor showToolbar={false} multiLine={false} />
|
||||
</RAGFlowFormItem>
|
||||
<Button variant={'ghost'} onClick={() => remove(index)}>
|
||||
<X />
|
||||
|
||||
Reference in New Issue
Block a user