The module is working properly so far except for one option that really was the reason i wanted to use this module in the first place : the dynamic values for the select boxes.
As soon as i activate this option i get the following error on the page that contains the module when im selecting something in the select box :
Uncaught TypeError: Cannot read properties of undefined (reading 'attr')
at Object.<anonymous> (reservez:865)
at Function.each (jquery.min.js?12446976276ab3f29cfaaf07649811ed:2)
at a.fn.init.each (jquery.min.js?12446976276ab3f29cfaaf07649811ed:2)
at Object.success (reservez:856)
at u (jquery.min.js?12446976276ab3f29cfaaf07649811ed:2)
at Object.fireWith [as resolveWith] (jquery.min.js?12446976276ab3f29cfaaf07649811ed:2)
at C (jquery.min.js?12446976276ab3f29cfaaf07649811ed:2)
at XMLHttpRequest.n (jquery.min.js?12446976276ab3f29cfaaf07649811ed:2)
And i have this second error on all pages containing the module, this is first time i ever encounter this (and im using quite a few others modules with customs templates already that doesnt show this error):
Not allowed to load local resource: file:///C:/xampp/htdocs/modules/mod_k2_filter/tmpl/Default/template.php
The way this file is loaded is wrong :
<link href="C:\xampp\htdocs\modules\mod_k2_filter\tmpl\Default\template.php" rel="stylesheet">
Am i missing a parameter somewhere ? Is the reason the dynamic search is not working is because your template won't load ?
Joomla 3.10.2 php 7.3.30 and latest version of your module
Is there any way to make dynamic values to works without ajax results? Or ajax result to show in a new page ?
Only for this one module and this template, i have another module with another template for my full search page that works with ajax results (and it's fine like this)
I really need the fileds to be dynamics, there is no point in searching for a trip in let's say Germany in november if there is none.
It's for my homepage, so i need the results to show in another page.