mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 15:06:50 +08:00
### What problem does this PR solve? Feat: Display the document configuration dialog with shadcn #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -222,11 +222,12 @@ export const RAGFlowSelect = forwardRef<
|
||||
allowClear,
|
||||
placeholder,
|
||||
contentProps = {},
|
||||
defaultValue,
|
||||
},
|
||||
ref,
|
||||
) {
|
||||
const [key, setKey] = React.useState(+new Date());
|
||||
const [value, setValue] = React.useState<string | undefined>(undefined);
|
||||
const [value, setValue] = React.useState<string | undefined>(defaultValue);
|
||||
|
||||
const FormControlWidget = FormControlComponent
|
||||
? FormControlComponent
|
||||
|
||||
Reference in New Issue
Block a user