Needs review
Project:
Entity Browser
Version:
8.x-2.x-dev
Component:
Widget plugins
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2017 at 20:56 UTC
Updated:
12 Jun 2025 at 05:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
adrian83 commentedHere is the answer I got from Mohammed Razem on Varbase Slack:
Comment #3
hardik_patel_12 commentedComment #4
hardik_patel_12 commentedplease check this patch
Comment #5
hardik_patel_12 commentedComment #6
hardik_patel_12 commentedComment #7
snehalgaikwad commentedComment #8
snehalgaikwad commented"select all" checkbox is appearing only if there is
i.e. if label for any of the field is visible. Either User has to make sure label is always present or changes need to be made in code to add default header. Also checkboxed are checked on class
which is not for any particular entity browser field. It should be like getting the parent element of select all checkbox and then add checked property to children.
Comment #9
hardik_patel_12 commented@snehalgaikwad now select all checkbox is independent of field label.
Comment #10
hardik_patel_12 commentedComment #11
snehalgaikwad commentedThanks for the fixes @Hardik_Patel_12. I have tested patch and it is working fine.
Comment #12
hardik_patel_12 commentedComment #13
danharper commentedI've tried to test this patch and it seems to be working ok
Thanks Dan
Comment #14
anybodyWell it works but is this really the perfect implementation?
#2842313: Missing tableselect dependency in view seems duplicate and the better Drupal-way implementation?
Comment #15
anybodyComment #16
MoumitaK commentedI use this patch in entity browser view.. But when I am going to the network to check, the .js file is not displaying over there. Can anyone let me know there is any other way for that?
Comment #17
prografr commented#9 worked for me thnx @Hardik_Patel_12
hope to merge this handy feature..
Comment #18
kt2ssh commentedI want the "select all options across all pages" (assumed pager is set) feature just like what VBO does but I can't find any solution from entity browser or entity browser enhanced modules.
now I end up with this snippet below, but it only work for views widget and node type specifically.
Comment #19
rogeriocc commented# 9 stopped work on Entity Browser 2.6 and Drupal 9.2.7
Comment #23
acbramley commentedCode in MR20 still worked, although it was on the 8.x-2.x branch which causes issues when cloning.
Rebased HEAD on to 2922313-how-to-create, cherry-picked the JS and made some changes to the select all markup.
Comment #24
danharper commentedI'm using MR30 and it's working on 2.x-dev can this be marked as reviewed & tested?