question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Close smart select in picker with JavaScript

See original GitHub issue

Hi 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:closed
  • Created 7 years ago
  • Comments:11

github_iconTop GitHub Comments

4reactions
sfontana7commented, Jan 23, 2017

What about something like this:

if ($(‘.smart-select-picker.modal-in’).length > 0) { myApp.closeModal(‘.smart-select-picker.modal-in’); }

0reactions
lock[bot]commented, Jun 24, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found