Version: Next
List and Items
#
Disable an ItemYou may want to disable an item, The item will be unselectable.
#
Item-specific stylesEach item can have its own label and container styles.
#
Test IDUsed to locate the item in end-to-end tests.
#
PropsitemKey
#
Specifies which item key should be used as a key.
Type | Default |
---|---|
string | value |
closeAfterSelecting
#
Closes the drop-down menu after selecting an item.
note
This only works with single item pickers.
Type | Default |
---|---|
bool | false |
itemSeparator
#
Specifies if the item separater should be visible.
Type | Default |
---|---|
bool | false |
#
CallbacksrenderListItem
#
Customizes the renderListItem
.
- See: RenderListItem.js
Type |
---|
function |
ListEmptyComponent
#
Changes the default ListEmptyComponent
.