From 092e8fdd308e66225789ec023d33ccfaa7f027b1 Mon Sep 17 00:00:00 2001 From: Ross Masters Date: Sat, 8 Dec 2018 00:42:26 +0000 Subject: [PATCH] Tweak onSelect doc to emphasise the second arg --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e78523da..f765b23f 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ Default value: `function() {}` Arguments: `value: String, item: Any` -Invoked when the user selects an item from the dropdown menu. +Invoked when the user selects an item from the dropdown menu. `value` contains the selected value as returned by `getItemValue`, while `item` is the original element of the items array. #### `open: Boolean` (optional) Used to override the internal logic which displays/hides the dropdown