- First commit to issue fork.
- Open on Drupal.org βCore: 10.1.4 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - @euk opened merge request.
- Open on Drupal.org βCore: 10.1.4 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Status changed to Needs work
over 1 year ago 7:18am 1 November 2023 - π©πͺGermany Anybody Porta Westfalica
Thanks @euk, nice one! :) That's something I wanted to do for years :D
Left a comment. Afterwards we should get feedback, if it works well. Could you explain the changes, especially
clickToToggle: false
a bit? - Open on Drupal.org βCore: 10.1.4 + Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Waiting for branch to pass - πΊπΈUnited States euk
Could you explain the changes, especially clickToToggle: false a bit?
The changes are inspired by the libraries readme page, which is quite small and doesn't provide much info. In the nutshell, first of all, the plugin is applied to table cells and not the checkboxes directly. This calls for using the callbacks as follows:
-onChange
: to color the cells based on the status of the containing checkbox,
-getChecked
: to read checkbox status
-setChecked
: to find and mark the checkbox as per providedstate
As for the
clickToToggle
- the documentation doesn't have much info, but setting it to FALSE seems to help the whole thing. - Status changed to Needs review
over 1 year ago 8:37am 6 November 2023