Hi team,
I have custom code (see below) that inserts text values into input fields which are used for filtering with CMS Filter with From/To ranges.
Manually entering the text values into the input fields filters fine, however adding the same text values via my code does not filter. Note that a button is used to trigger the filter after the text values are inputted. Any help would be appreciated!
<script>
$('#priceFrom').on('change',function(){
$('#priceFromInput').val($(this).find(":selected").val());
});
$('#priceTo').on('change',function(){
$('#priceToInput').val($(this).find(":selected").val());
});
</script>