I have been trying to set some value as selected in framework7 smartselect element when a page mounted. I tried to use:
var smartSelect = app.smartSelect.get(’.smart-select’);
but getting error in console:
Uncaught TypeError: Cannot read property ‘setValue’ of undefined
I can’t still figure out a proper solution for this. Can anyone help me, please?