SelectMultiple field, and select2 JS lib

More
10 years 10 months ago #45044 by brandonking
If I have to select 30 options out of 50, deselecting unnecessary options from list would be easier.
So please consider including Select All checkbox.
jsfiddle.net/jEADR/62/

Regards,

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #45050 by brandonking
Maybe better wait for new release coz Select2 team is developing "select all/none" feature.
github.com/ivaynberg/select2/issues/195

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #45051 by ggppdk
Hello

have just recently updated to latest select2 JS lib, resolving some changes in select2 behavior !
(e.g. already selected values are no longer marked as "disabled" but as "selected")

thus updating to next version of select2 will be easier, since FC/select2 compatibility issues are already resolved


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #45105 by brandonking
Can you disable search box in multiple/single select field when web site is opened in mobile by adding below code?
Code:
$("#e2").select2({ minimumResultsForSearch: 99 });
github.com/todc/todc-select2/issues/4

Whenever I try to select options on mobile device, keyboard appeared so it is hard to select options..

Thank you for everything.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #45111 by brandonking
minimumResultsForSearch value should be negative for disabling search box.
Code:
$("#e2").select2({ minimumResultsForSearch: -1 });

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #45123 by ggppdk
Hello

so if mobile is detected,
you recommend to disable the search box ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.592 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline