Close smart select in picker with JavaScript
See original GitHub issueHi everyone!
I’m developing my first app for Android using Framework7 and I’m trying to close a smart select with javascript.
On the website i saw a method for open smart select with js:
myApp.smartSelectOpen(smartSelect)
Is there something similar for close?
I also tried to trigger a click event on “close-picker” ($(".close-picker:eq(0)").trigger("click")
) but this is not working while alert($(".close-picker:eq(0)").html())
is working.
Thanks and sorry for my bad english 😦
Issue Analytics
- State:
- Created 7 years ago
- Comments:11
Top Results From Across the Web
Close smart select in picker with JavaScript #1031 - GitHub
Hi everyone! I'm developing my first app for Android using Framework7 and I'm trying to close a smart select with javascript.
Read more >[SOLVED]Smart-select: perform actions on closure - Questions
Hi, I have a form that needs to be validated. I need to be sure that in smart-select multiple options, at least one...
Read more >Smart Select - Framework7 - Tutorialspoint
Framework7 - Smart Select, Smart select is an easy way of changing form selects to dynamic pages by using groups of checkboxes and...
Read more >How to fire an event on close of drop down in Bootstrap select ...
The problem is with using bootstrap class ".selectpicker" when I am using my own custom class ".js-select" it is working.
Read more >Framework7 Smart Select - Javatpoint
Smart select can be open as popup by using the data-open-in attribute to popup. 5), Open in Picker, You can display smart select...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What about something like this:
if ($(‘.smart-select-picker.modal-in’).length > 0) { myApp.closeModal(‘.smart-select-picker.modal-in’); }
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.