Combo Box not filtering all Cats

Forums › Forums › Search & Filter Pro › Combo Box not filtering all Cats

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #26934

    Hi,

    I have a combo box set up for categories which are Hierarchical, with child categories three deep.

    When typing in to the combo box not all cats are showing up.

    An example can be seen here: http://overlandsphere.com/

    Can any one help fix this?

    Ross Moderator
    #27045

    Hey Martin

    I’m afraid the issue is kindof with the JS library we are using for the comboboxes – https://harvesthq.github.io/chosen/

    Basically, S&F will indent children so they look hierarchical – this is done the same way as WordPress does it – with non breaking spaces   – unfortunately this means that chosen to find the child categories as they start with a space – try adding in a few spaces and start typing – you will see that your children are found.

    The issue here really is, how to remove the spaces (so it becomes easily searchable) and style the children as children (ie with indentation).

    I’m looking in to this still, and considering moving over to another library – however none of the JS libraries I’ve found for anything like this have good support for anything hierarchical.

    I guess you would have to use a regular select, and potentially roll your own for now until I find a better solution.

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.