Skip to content

Commit

Permalink
select all checked on open (#69)
Browse files Browse the repository at this point in the history
* 🐛 select all checked on open

* 🔖 2.0.14
  • Loading branch information
harshzalavadiya authored Jul 8, 2020
1 parent 5b410ea commit d63c15e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-multi-select-component",
"version": "2.0.13",
"version": "2.0.14",
"description": "Simple and lightweight multiple selection dropdown component with checkboxes, search and select-all",
"author": "Harsh Zalavadiya",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/select-panel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const SelectPanel = (props: ISelectPanelProps) => {
focusSearchOnOpen ? FocusType.SEARCH : FocusType.NONE
);

const [selectAllLength, setSelectAllLength] = useState(0);
const [selectAllLength, setSelectAllLength] = useState<number>();
const selectAllOption = {
label: selectAllLabel || getString("selectAll", overrideStrings),
value: "",
Expand Down

0 comments on commit d63c15e

Please sign in to comment.