Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chevron icon added to indiciate dropdown for multiselect

Ollie Halliday3d42d576ba4b
diff --git a/studio/components/ui/MultiSelect/index.tsx b/studio/components/ui/MultiSelect/index.tsx
index c94cd640d65..77009bcd3d8 100644
--- a/studio/components/ui/MultiSelect/index.tsx
+++ b/studio/components/ui/MultiSelect/index.tsx
@@ -1,6 +1,14 @@
import { useRef, useEffect, useState, FormEvent, KeyboardEvent, ReactNode } from 'react'
import { orderBy, filter, without } from 'lodash'
-import { Popover, IconCheck, IconAlertCircle, IconSearch, IconPlus } from 'ui'
+import {
+ Popover,
+ IconCheck,
+ IconAlertCircle,
+ IconSearch,
+ IconPlus,
+ IconArrowDown,
+ IconChevronDown,
+} from 'ui'
import { BadgeDisabled, BadgeSelected } from './Badges'
@@ -223,7 +231,7 @@ export default function MultiSelect({
>
<div
className={[
- 'flex w-full flex-wrap items-start items-center gap-1.5 p-1.5',
+ 'flex w-full flex-wrap items-start gap-1.5 p-1.5 cursor-default',
`${selectedOptions.length === 0 ? 'h-9' : ''}`,
].join(' ')}
>
@@ -250,6 +258,9 @@ export default function MultiSelect({
)
}
})}
+ <div className="absolute inset-y-0 right-0 pl-3 pr-1 flex space-x-1 items-center cursor-pointer ">
+ <IconChevronDown className="text-scale-900"/>
+ </div>
</div>
</Popover>
</div>