Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 2f42a2a

Browse files
committed
Update README
1 parent e34c419 commit 2f42a2a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ following which are set by `Autocomplete`: value, autoComplete, role,
7979
aria-autocomplete. `inputProps` is commonly used for (but not limited to)
8080
placeholder, event handlers (onFocus, onBlur, etc.), autoFocus, etc..
8181

82+
#### `isItemSelectable: Function` (optional)
83+
Default value: `function() { return true }`
84+
85+
Arguments: `item: Any`
86+
87+
Invoked when attempting to select an item. The return value is used to
88+
determine whether the item should be selectable or not.
89+
By default all items are selectable.
90+
8291
#### `menuStyle: Object` (optional)
8392
Default value:
8493
```jsx

0 commit comments

Comments
 (0)