The js command:
app.smartSelect.create(‘select[name=“sounds”]’);
Throws following error:
TypeError: Object.getOwnPropertyDescriptor called on non-object
What is the problem here?
The js command:
app.smartSelect.create(‘select[name=“sounds”]’);
Throws following error:
TypeError: Object.getOwnPropertyDescriptor called on non-object
What is the problem here?
Please, read the create method for smart select
https://framework7.io/docs/smart-select.html#smart-select-app-methods
app.smartSelect.create(parameters)- create Smart Select instance
* parameters - object. Object with smart select parameters
Method returns created Smart Select's instance
parameters - object. Object with smart select parameters
and the params:
https://framework7.io/docs/smart-select.html#smart-select-parameters
then:
app.smartSelect.create({
el: '.my-smart-select-element',
...
openIn: 'sheet',
pageTitle: 'This is my title :)'
... more fun params
});
Thank you very much, it works now amazing! Could you please help me on my other issue: Can't access app on dynamic page
Thanks in advance!