We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, the onchange event handler conditional for the checkbox input is set to:
if (event.currentTarget.checked) { dispatch(ActionType.SelectRow, { rowKeyValue }); } else { dispatch(ActionType.SelectRow, { rowKeyValue }); } https://stackblitz.com/edit/table-selection-js?file=Demo.js
if (event.currentTarget.checked) { dispatch(ActionType.SelectRow, { rowKeyValue }); } else { dispatch(ActionType.SelectRow, { rowKeyValue }); }
Should be like in the TS example:
if (event.currentTarget.checked) { dispatch(ActionType.SelectRow, { rowKeyValue }); } else { dispatch(ActionType.DeselectRowData, { rowKeyValue }); } https://stackblitz.com/edit/table-selection-ts?file=Demo.tsx
if (event.currentTarget.checked) { dispatch(ActionType.SelectRow, { rowKeyValue }); } else { dispatch(ActionType.DeselectRowData, { rowKeyValue }); }
(Loving the component btw. Has just the right set amount of features built in to get going.)
The text was updated successfully, but these errors were encountered:
Hi @Snupas Thank you for your feedback, the issue has been fixed https://stackblitz.com/edit/table-selection-js?file=Demo.js
Sorry, something went wrong.
komarovalexander
No branches or pull requests
Currently, the onchange event handler conditional for the checkbox input is set to:
if (event.currentTarget.checked) { dispatch(ActionType.SelectRow, { rowKeyValue }); } else { dispatch(ActionType.SelectRow, { rowKeyValue }); }
https://stackblitz.com/edit/table-selection-js?file=Demo.js
Should be like in the TS example:
if (event.currentTarget.checked) { dispatch(ActionType.SelectRow, { rowKeyValue }); } else { dispatch(ActionType.DeselectRowData, { rowKeyValue }); }
https://stackblitz.com/edit/table-selection-ts?file=Demo.tsx
(Loving the component btw. Has just the right set amount of features built in to get going.)
The text was updated successfully, but these errors were encountered: