New issue
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
DataGrid: DataGridMultiSelectColumn - checkbox issue #3489
Comments
I'm planning to do tne 095x release today. |
@David-Moreira , hi, any updates? |
Hello @PavloParafiloCricut Please follow the setup guide for your provider of choice as there are missing css/js dependencies and we cannot guarantee that everything works 100% otherwise. |
@David-Moreira It can be replicated even on your demo site https://bootstrap5demo.blazorise.com/tests/datagrid/selection/multiple (Chrome Version 98.0) and locally on you demo solution |
Hello it does happen on bs5. Edit: Did you mean to say you reproduce the issue on other providers too? |
Thanks for help. |
Hi @David-Moreira any updates on this? |
Hello, |
@David-Moreira It looks like the default BehaviourProvider for Bootstrap as implemented by your #3559 has now broken custom MultiSelectTemplates that have a checkbox inside them. We have put our own custom checkbox component into the MultiSelectTemplate and now when you click directly on the checkbox, it does not check the box but does select the row. If you click anywhere else in the row, it checks the box as expected. The MultiSelectAll checkbox also still works as expected. By reverting your change to DataGridRowMultiSelectPreventClick => false, the checkbox in each row is now appearing correctly checked when clicked on. |
Describe the bug
Using DataGridMultiSelectColumn and clicking on checkbox it is displayed as not checked.
As you can see, while row is selected checkbox - not.
Sometimes it becomes selected, sometimes it is not possible to unselect with checkbox (need to click twice)
To Reproduce
Steps to reproduce the behavior:
Use next packages
Add simple data grid with DataGridMultiSelectColumn
Try to click on select checkboxes.
Repo with project: https://github.com/PavloParafiloCricut/BlazorApp1
The text was updated successfully, but these errors were encountered: