Feat: Add FormSheet. #3221 (#5377)

### What problem does this PR solve?

Feat: Add FormSheet. #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-02-26 15:03:09 +08:00
committed by GitHub
parent 5c6a7cb4b8
commit 5859a3df72
10 changed files with 82 additions and 72 deletions

View File

@ -58,7 +58,6 @@ export function DynamicVariableForm({ node }: IProps) {
name={typeField}
render={({ field }) => (
<FormItem className="w-2/5">
{/* <FormLabel>City</FormLabel> */}
<FormDescription />
<FormControl>
<RAGFlowSelect
@ -75,8 +74,7 @@ export function DynamicVariableForm({ node }: IProps) {
control={form.control}
name={`query.${index}.${getVariableName(typeValue)}`}
render={({ field }) => (
<FormItem>
{/* <FormLabel>State</FormLabel> */}
<FormItem className="flex-1">
<FormDescription />
<FormControl>
{typeValue === VariableType.Reference ? (