mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 00:36:01 +00:00
free table editor - save and load
This commit is contained in:
@@ -196,7 +196,7 @@ export function FormArchiveFilesSelect({ folderName, name }) {
|
||||
return <FormReactSelect options={filesOptions} name={name} isMulti />;
|
||||
}
|
||||
|
||||
export function FormArchiveFolderSelect({ name }) {
|
||||
export function FormArchiveFolderSelect({ name, ...other }) {
|
||||
const { setFieldValue } = useFormikContext();
|
||||
const folders = useArchiveFolders();
|
||||
const folderOptions = React.useMemo(
|
||||
@@ -214,6 +214,12 @@ export function FormArchiveFolderSelect({ name }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<FormReactSelect options={folderOptions} name={name} Component={Creatable} onCreateOption={handleCreateOption} />
|
||||
<FormReactSelect
|
||||
{...other}
|
||||
options={folderOptions}
|
||||
name={name}
|
||||
Component={Creatable}
|
||||
onCreateOption={handleCreateOption}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user