feat(users): rework general settings (#4915)

Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
ThomasandMeier Lukas authored and GitHub committed 2026-05-29 21:22:55 +02:00
1 parent 6cc2ac56a9
commit 2991777b0a
12 files changed
+407 -470

No files matched your search

@@ -20,6 +20,7 @@ export interface SelectWithCustomItemsProps<TSelectItem extends BaseSelectItem>
onBlur?: (event: React.FocusEvent<HTMLButtonElement>) => void;
onFocus?: (event: React.FocusEvent<HTMLButtonElement>) => void;
w?: string;
withinPortal?: boolean;
}
type Props<TSelectItem extends BaseSelectItem> = SelectWithCustomItemsProps<TSelectItem> & {
@@ -35,6 +36,7 @@ export const SelectWithCustomItems = <TSelectItem extends BaseSelectItem>({
SelectOption,
w,
clearable,
withinPortal = false,
...props
}: Props<TSelectItem>) => {
const combobox = useCombobox({
@@ -71,7 +73,7 @@ export const SelectWithCustomItems = <TSelectItem extends BaseSelectItem>({
const _clearable = clearable && Boolean(_value);
return (
<Combobox store={combobox} withinPortal={false} onOptionSubmit={onOptionSubmit}>
<Combobox store={combobox} withinPortal={withinPortal} onOptionSubmit={onOptionSubmit}>
<Combobox.Target>
<InputBase
{...props}