From 0c2863d63c38f1e527e320ab2187c467372947b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Gauvin?= Date: Sat, 3 Aug 2019 09:49:09 +0200 Subject: [PATCH] Update multiselect.js (#1025) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit applyFilter should take the entire selection and not just the first element of the sélection --- .../react-bootstrap-table2-filter/src/components/multiselect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-bootstrap-table2-filter/src/components/multiselect.js b/packages/react-bootstrap-table2-filter/src/components/multiselect.js index 66ad4a0..ae8714e 100644 --- a/packages/react-bootstrap-table2-filter/src/components/multiselect.js +++ b/packages/react-bootstrap-table2-filter/src/components/multiselect.js @@ -65,7 +65,7 @@ class MultiSelectFilter extends Component { needFilter = true; } if (needFilter) { - this.applyFilter(this.selectInput.value); + this.applyFilter(getSelections(this.selectInput)); } }