Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Actual version used is 7.x-1.4+8-dev.
I use shs on views exposed filters and I have 2 shs selects on the same page.
I would like to add a js which allows to customize select's appearance (a bit like jQuery UI selectmenu).
To get it called after shs's ajax request it requires multiple ajaxComplete() (Drupal.behaviors are not enough), which is very ugly. Then I would have to find a way to apply shs's behavior which removes the level-2 selects when another option is chosen in corresponding level-1 select.
I would like to find something less acrobatic, do you think ot could be possible ?
Comments
Comment #1
stBorchertSimple hierarchical select offers support for Chosen (which is probably an alternative for you).
Its not really possible to inject the behavior and function calls of other modules of this type, since the integration needs to take place on a very deep level within the functions of SHS.
Comment #2
tostinni CreditAttribution: tostinni commentedThanks for the "Chosen" module suggestion, it works perfectly.