Skip to components
DEVELOPER REFERENCE · v4.0.0

DropdownPopupContent API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

DropdownPopupContent13 props3 callbacks0 methods

Props13

DropdownPopupContent props
NameTypeDescription
optionsRequired
DropdownOption<T>[]Inspect type
Available choices or control configuration, according to the declared type; expand it to inspect each field.
selectedValuesOptional
DropdownOption<T>[] | undefinedInspect type
Selected option objects used to render the current dropdown selection.
remoteOptional
(RemoteDropdownState<T> & { text: DropdownRemoteText; search: (query: string) => void; loadMore: () => void; retry: () => void; }) | undefinedInspect type
Remote-option loading state and handlers for search, pagination and retry.
valueRequired
T | T[] | undefinedInspect type
Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted.
configRequired
DropdownConfig<T>Inspect type
Component configuration. Expand the type to see accepted fields and alternative forms.
multiSelectRequiredbooleanAllows more than one option to be selected.
searchRequiredbooleanShows the dropdown search field.
searchPlaceholderRequiredstringPlaceholder text in the search field.
listboxIdRequiredstringID for the options listbox and its accessibility associations.
searchIdRequiredstringID for the search field and its accessibility associations.
renderOptionOptional
((h: any, option: DropdownOption<T>, isSelected: boolean) => ComponentChildren) | undefinedInspect type
Custom renderer for an option and its current selection/disabled state.
renderNoResultsOptional
((h: any) => ComponentChildren) | undefinedInspect type
Custom renderer for an empty options list.
themeOptionalstring | null | undefinedTheme applied to popup content so it matches its surrounding application.

Events and callbacks3

DropdownPopupContent events and callbacks
NameTypeDescription
onChangeRequired
(value: T | T[]) => voidInspect type
Receives the new value when the user changes the control. Update the corresponding value prop for controlled use.
onCloseRequired
(focusNext?: boolean) => voidInspect type
Requests that the parent close the surface or picker.
onTabNavigationOptional
(() => void) | undefinedInspect type
Called when Tab should leave the dropdown and continue normal focus navigation.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.