| String to use for the input label.
Type: string | |
|---|
| Sets the element to which the popover is going to append to.
'body' will append to the nearest body (supports shadow DOM).
Type: HTML_ELEMENT_TYPE|string Values: 'body''parent'HTMLElement | 'body' |
|---|
| Width configuration for the popover content. When its value is 'anchor',
the popover content will have the same width as the anchor.
Type: string Values: anchor | null |
|---|
| Description for the input
Type: string | '' |
|---|
| Additional class for the popover dialog element.
Type: string|array|object | '' |
|---|
| Sets the list to an empty state, and displays the message from prop emptyStateMessage.
Type: boolean | false |
|---|
| Message to show when the list is empty
Type: string | '' |
|---|
| Displays the list when the combobox is focused, before the user has typed anything.
When this is enabled the list will not close after selection.
Type: boolean | true |
|---|
| Determines visibility of input label.
Type: boolean Values: truefalse | true |
|---|
| Additional class for the wrapper list element.
Type: string|array|object | '' |
|---|
| Sets an ID on the list element of the component. Used by several aria attributes
as well as when deriving the IDs for each item.
Type: string | function() { return getUniqueString(); } |
|---|
| Determines when to show the skeletons and also controls aria-busy attribute.
Type: boolean | false |
|---|
| Determines maximum height for the popover before overflow.
Possible units rem|px|em
Type: string | '' |
|---|
| Determines maximum width for the popover before overflow.
Possible units rem|px|%|em
Type: string | '' |
|---|
| A method that will be called when the selection goes past the beginning of the list.
Type: func | null |
|---|
| A method that will be called when the selection goes past the end of the list.
Type: func | null |
|---|
| If the list should be shown by pressing up or down arrow key on the input element.
This can be set when not passing showList prop.
Type: boolean | false |
|---|
| Vertical padding size around the list element.
Type: string | 'small' |
|---|
| Displaces the popover content box from its anchor element
by the specified number of pixels.
Type: array | [0, 4] |
|---|
| If the popover sticks to the input.
Type: boolean|string | false |
|---|
| Determines when to show the list element and also controls the aria-expanded attribute.
Leaving this null will have the combobox trigger on input focus by default.
If you set this value, the default trigger behavior will be disabled and you can
control it as you need.
Type: boolean | null |
|---|
| Size of the input, one of xs, sm, md, lg, xl
Type: string Values: nullxssmmdlgxl | null |
|---|
| Named transition when the content display is toggled.
Type: string | 'fade' |
|---|