Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
selectMenu jQuery UI not working on bootstrap 5 modal

I have this great source over here https://jqueryui.com/selectmenu/#custom_render for customizing the select tag with icons.

But when I add this on modal using Bootstrap v5.0. It doesn't seem to work and icons are disappearing.

I tried using this:

<!-- Button trigger modal -->
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">
    Launch demo modal
</button>

<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <h2>Selectmenu with custom icon images</h2>
                <fieldset>
                    <label for="filesB">Select a podcast:</label>
                    <select name="filesB" id="filesB">
                        <option value="mypodcast" data-class="podcast">John Resig Podcast</option>
                        <option value="myvideo" data-class="video">Scott Gonz&#xE1;lez Video</option>
                        <option value="myrss" data-class="rss">jQuery RSS XML</option>
                    </select>
                </fieldset>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                <button type="button" class="btn btn-primary">Save changes</button>
            </div>
        </div>
    </div>
</div>

But it doesn't seem to render the selectMenu widget.

Any chance to help anyone?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!