Require explicit opt-in for "clicking grid row checks box" feature

sometimes it makes sense *not* to enable that, in which case disabled
probably should be the default
This commit is contained in:
Lance Edgar 2021-08-23 19:26:50 -05:00
parent a881b310bc
commit 3cf4c0f8e4
3 changed files with 9 additions and 0 deletions

View file

@ -143,8 +143,10 @@
:checkable="checkable"
% if grid.checkboxes:
:checked-rows.sync="checkedRows"
% if grid.clicking_row_checks_box:
@click="rowClick"
% endif
% endif
% if grid.check_handler:
@check="${grid.check_handler}"
% endif