Good morning,
What’s the point of having a .get()
function if you have to pass a variable?
For example doing $f7.picker.get(document.querySelector('#id'))
method always fails returning undefined
In my case I used a forEach
to initialize the pickers
, I used an object to group the references and resolve the problem.
Example:
let containerPicker = {};
document.querySelectorAll(element).forEach((el, index) => {
containerPicker[index] = $f7.picker.create({ .... });
});