Forums › Forums › Search & Filter Pro › Adding checkboxes in the dropdown menu for multi-select
- This topic has 8 replies, 2 voices, and was last updated 7 years, 10 months ago by
Anonymous.
-
Anonymous(Private) June 1, 2018 at 10:18 am #179592
Hi Team!
First I would like to thank you for the awesome job that you have done until now.
This plugins really does his job, and it’s very powerful for creating a site where you can actually sort things the way you want.
Second, the problem that I encounter is as follow:
I am working for a customer for a website, and following his requests, he wants to add a checkbox at the beginning of each element in the dropdown, and have the users click on the check-boxes to add or remove from the search. I tried on my own to handle this, however, I couldn’t modify the JavaScript file to set up this.
Can you please let me know if you can assist me over this or not?
Much appreciated!Trevor(Private) June 1, 2018 at 11:33 am #179596Hi Florin
Thanks for contacting us. I have seen third party sites where their developer has done this using their own javascript in conjunction with our plugin, but I have no code snippets that I could share with you. They may have been using an existing third party jQuery library/code snippet. I think it is a feature we may plan to add in v3, but I cannot give you any indication of the timing of that (not soon). Such custom coding is not a service that we offer, sorry.
Anonymous(Private) June 1, 2018 at 1:56 pm #179607We are on the right track! Thank you Trevor!
The only thing which remains is to have this in the dropdown as well.
The site that I found to have what my boss is trying to achieve is written in Visual Basic from what I could check.
What I require is to keep the dropdown true, and not to close immediately after I select an item, but to keep that open until I finish the selection of items that the user may want.
Regarding the CSS, I can sort that out at the end by my own.
Let me know if you have any brilliant idea like this one.Anonymous(Private) June 2, 2018 at 12:30 am #179627Hi Trevor!
Short update: I found some code for select2, in order to add them. I am currently trying to implement it, and hope I can sort this out over the weekend, but since it’s a 5000 lines code already, I may fail xD.
For those who wants to know, please follow this : https://jsfiddle.net/Lkkm2L48/7/
Trevor, if you find this inapropriate, feel free to make this reply private or delete it.
Hope that 3.0 can have this added as well, and that will bring a step forward for the plugin.
Have a great weekend! -
AuthorPosts
