Topic: Select not working - options not appearing on click
coreystinson2 pro asked 8 years ago
$(this).trigger('open');
I cannot find where the open event is being bound to the select element.
This is my sample HTML, and initialization is being called on a document ready as per the example.
<select ng-model="foo">
<option value="" disabled selected>Choose your option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
</select>
This is my rendered HTML in source.
This is my rendered ul in source.
This is my visual for the element
Igor Babko pro answered 7 years ago
dominofoe pro answered 8 years ago
coreystinson2 pro answered 8 years ago
<script type="text/javascript" src="assets/bootstrap.js"></script>
<script type="text/javascript" src="assets/mdb.js"></script>
Thanks again and apologies for wasting your time.
Michal Szymanski staff answered 8 years ago
coreystinson2 pro answered 8 years ago
$(this).trigger('open');
method that I think may be the cause of the issue.
Can confirm that activateOption is being called with the correct identified item from my select.
coreystinson2 pro answered 8 years ago
Michal Szymanski staff answered 8 years ago
Michal Szymanski staff answered 8 years ago
coreystinson2 pro answered 8 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No