From b8b294d6828cb7db329fab76e1b197387168e9a5 Mon Sep 17 00:00:00 2001 From: dukenv0307 Date: Mon, 2 Oct 2023 22:20:16 +0700 Subject: [PATCH] add js doc --- src/components/OptionsSelector/BaseOptionsSelector.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/OptionsSelector/BaseOptionsSelector.js b/src/components/OptionsSelector/BaseOptionsSelector.js index 313c56e20476..52f15f502028 100755 --- a/src/components/OptionsSelector/BaseOptionsSelector.js +++ b/src/components/OptionsSelector/BaseOptionsSelector.js @@ -338,6 +338,10 @@ class BaseOptionsSelector extends Component { }); } + /** + * Completes the follow-up action after clicking on multiple select button + * @param {Object} option + */ addToSelection(option) { if (this.props.shouldShowTextInput && this.props.shouldFocusOnSelectRow) { this.textInput.focus();