-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quicksearch as Seller suit a group option #72
Comments
Can you:
Thanks! |
The script I use is:
}); this is my html code: <% Iterator<Sector> itsector = SWBComparator.sortByDisplayName(Sector.ClassMgr.listSectors(wsite),user.getLanguage()); while(itsector.hasNext()){ Sector sector = itsector.next(); %> <optgroup label="<%=sector.getDisplayTitle(user.getLanguage())%>"> <% Iterator<Sector> itsubsec = SWBComparator.sortByDisplayName(Sector.ClassMgr.listSectorByParent(sector),user.getLanguage());; while(itsubsec.hasNext()){ Sector subsec = itsubsec.next(); %> <option value="<%=subsec.getShortURI()%>" title="<%=subsec.getDisplayTitle(user.getLanguage())%>" selected="selected" disabled="disabled"><%=subsec.getDisplayTitle(user.getLanguage())%></option> <%}%> </optgroup> <%}%>This is the image that is built multiselect, a search is done but I need to also look in the optgroup and there but you hide matches, currently the library is prepared to do searches the options of a select but when coupled with a multiselect optgroups and is where the search options do not work anymore, I want to see how to solve it. I hope you can help me with my problem as me it is urgent, thank you for your support. |
Ok but did you tried Step 1 ?
|
And by reading your code, I do not think you are not using it the right way... Can you reproduce it on jsbin/jsfiddle ? |
I'm using the component like this: in section searchable, contains only one that I need and put options as in the image oprtgroups |
I think you should ask them why their demo does not work: https://github.com/lou/multi-select I was not aware that the thing existed. But, again, please answer this question: Did you tried with the lastest version of the quicksearch plugin here https://github.com/DeuxHuitHuit/quicksearch ? |
the latest version of quicksearch and am taking on my part but do not know how to adapt optgroups |
No, it should work... If you could reproduce the problem on jsbin or jsfiddle I could be able to help more... |
ok then I'll put in jsbin or jsFiddle and I put my code, thanks for the support I will leave it I did not take |
You're welcome. I will be a lot easier with a jsbin/jsfiddle to play with. |
I can't help you with a screenshot only. Please reproduce the problem on jsbin or jsfiddle I could be able to help. |
can you tell me if you see: is more or less like I'm driving alone I need a search engine and the images that had showing you earlier , make inquiries about parents and children and hide you can not find but parents and also also the children I am working with the library quicksearch adapt him but not how it currently is working but I just look for the children not if I understand well ?? |
I do not see any 'input' element in your jsbin... |
the input element itself generate the Flight from jQuery script in section |
Your jsbin has an error in it (jQuery is not even loaded on the page) |
What happens is that it has the libraries jaquey is needed, that of /jquery.multi - select.js , / jquery.quicksearch.js I'm just showing you my code see paragraph AS build , which not only how to solve the question I have to hide in The optgroups in my Component WHEN I Search |
Yeah but if you want help from me, you need to be able to reproduce the problem on jsbin. If not, I am afraid I can't do anything else. |
Using this plugin https://github.com/DeuxHuitHuit/quicksearch, you can do this. $(document).ready(function() {
|
This is working for me.
|
hi , the last script work 4 me i see the two inputs to search in the select , but i have a problem, in my page i see a select button that says nothing selected and i dont know why is right here i add my code and a screen of the issue(sorry 4 my inglish)
javascript:
|
In the finder with multi select optgroup, to look for certain items, the search engine not only hides the parent searches pure children someone can support me
The text was updated successfully, but these errors were encountered: