Skip to content

Commit d63c15e

Browse files
select all checked on open (#69)
* 🐛 select all checked on open * 🔖 2.0.14
1 parent 5b410ea commit d63c15e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-multi-select-component",
3-
"version": "2.0.13",
3+
"version": "2.0.14",
44
"description": "Simple and lightweight multiple selection dropdown component with checkboxes, search and select-all",
55
"author": "Harsh Zalavadiya",
66
"license": "MIT",

src/select-panel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const SelectPanel = (props: ISelectPanelProps) => {
6262
focusSearchOnOpen ? FocusType.SEARCH : FocusType.NONE
6363
);
6464

65-
const [selectAllLength, setSelectAllLength] = useState(0);
65+
const [selectAllLength, setSelectAllLength] = useState<number>();
6666
const selectAllOption = {
6767
label: selectAllLabel || getString("selectAll", overrideStrings),
6868
value: "",

0 commit comments

Comments
 (0)