Forums Forums Search & Filter Pro Hello i'm getting issues while filtering option.

Viewing 4 posts - 11 through 14 (of 14 total)
  • Anonymous
    #223214

    Hey Trevor,

    The issue is that the fields are blank or with 100% opacity.

    JG

    Trevor
    #223219

    They have Select2 applied to them, but not by our plugin?

    They look to be what are called Comboboxes. Is your theme doing this?

    You can tell if it is by disabling Ajax in our form. If all works, then your theme is indeed doing this.

    Anonymous
    #223231

    I think it comes from your plugin as you said that you need to turn off ajax but still the same things with reload time textboxes disappear after the filter.

    Please look into it.

    Trevor
    #223233

    The issue is that your theme is applying the select2 script to the form when the document has loaded.

    When Ajax is used to refresh part of the page, that theme script needs to be run again so that it is reapplied. Our plugin offers the choice of using Ajax or not. You would need to speak to the theme authors to find how they applied select2 form controls on theme pages, and re apply their code using a script like this:

    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        console.log("ajax complete");
    
    // call your theme select2 function here
    
      });
    }(jQuery));</script>
Viewing 4 posts - 11 through 14 (of 14 total)