diff --git a/webapp/common-react/@dbeaver/ui-kit/src/Select/SelectField.tsx b/webapp/common-react/@dbeaver/ui-kit/src/Select/SelectField.tsx index 18be853e34..206cd2c919 100644 --- a/webapp/common-react/@dbeaver/ui-kit/src/Select/SelectField.tsx +++ b/webapp/common-react/@dbeaver/ui-kit/src/Select/SelectField.tsx @@ -1,6 +1,6 @@ /* * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others + * Copyright (C) 2020-2026 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. @@ -78,6 +78,8 @@ export interface SelectFieldProps> { store?: SelectProviderProps['store']; + portal?: boolean; + autoFocusItemsOnShow?: boolean; 'aria-labelledby'?: string; @@ -106,6 +108,7 @@ export function SelectField>({ disabled, required, className, + portal = false, selectedRender, arrowIcon, store, @@ -167,7 +170,7 @@ export function SelectField>({ {description && {description}} - + {items.length === 0 ? (
{noItemsPlaceholder}
) : ( diff --git a/webapp/packages/core-blocks/src/FormControls/Select.tsx b/webapp/packages/core-blocks/src/FormControls/Select.tsx index 5481044f08..867b3dcfd0 100644 --- a/webapp/packages/core-blocks/src/FormControls/Select.tsx +++ b/webapp/packages/core-blocks/src/FormControls/Select.tsx @@ -1,6 +1,6 @@ /* * CloudBeaver - Cloud Database Manager - * Copyright (C) 2020-2025 DBeaver Corp and others + * Copyright (C) 2020-2026 DBeaver Corp and others * * Licensed under the Apache License, Version 2.0. * you may not use this file except in compliance with the License. @@ -39,6 +39,7 @@ export type SelectBaseProps = Omit< onSwitch?: (state: boolean) => void; inline?: boolean; children?: string; + portal?: boolean; }; type ControlledProps = SelectBaseProps & { @@ -66,6 +67,7 @@ export const Select: SelectType = observer(function Select({ name, state, items, + portal = false, loading, children, title, @@ -180,6 +182,7 @@ export const Select: SelectType = observer(function Select({ )}