Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ export function Dropdown({
)
}, [multiSelect, multiValues, optionMap])

const isSearchable = subBlockId === 'operation'

return (
<Combobox
options={comboboxOptions}
Expand All @@ -375,14 +377,15 @@ export function Dropdown({
editable={false}
onOpenChange={(open) => {
if (open) {
// Fetch options when the dropdown is opened to ensure freshness
void fetchOptionsIfNeeded()
}
}}
overlayContent={multiSelectOverlay}
multiSelect={multiSelect}
isLoading={isLoadingOptions}
error={fetchError}
searchable={isSearchable}
searchPlaceholder='Search operations...'
/>
)
}