Can someone more intelligent than me confirm/deny that these doc blocks are correct
My assumption from the doc block is that multiselect would allow me to click on row1 and the shift click on row8 and that would select all rows 1 though 8.
updated: Checked in joomla 3 and my assumption was correct - its just not working in j4
joomla-cms/libraries/cms/html/behavior.php
Line 143 in 42067d5
I can see that there is a event for the shift key in the js but it doesnt do what I expected
joomla-cms/build/media_source/system/js/multiselect.es6.js
Lines 92 to 97 in 42067d5
Labels |
Added:
?
|
Title |
|
Labels |
Added:
J4 Issue
|
Status | New | ⇒ | Discussion |
js is all greek to me - i am just reporting
Sorry I tried to understand the js to fix this but it's still all greek to me
this.onRowClick = this.onRowClick.bind(this);
is present in multiselect.js
It seems that while migration from jquery, this part of code was lost:
joomla-cms/media/system/js/multiselect-uncompressed.js
Lines 25 to 36 in 22f096e
Hmm to me it seems multiselect is broken at least in 4.2, it not also on 4.1 (not tested yet). See my comment here: #37379 (comment)
On 3.10.6 it works.
Update: Just read the issue completely and so I can just confirm it.
Labels |
Added:
No Code Attached Yet
bug
Removed: ? |
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-11-10 14:46:02 |
Closed_By | ⇒ | Fedik |
Probably a binding is missing in the constructor, eg:
this.onRowClick = this.onRowClick.bind(this);