Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

116
Vistas
Select2 Not Showing options

I'm updating two websites both built within YII framework, one has the older version installed and has the new version. I'm facing almost similar problem regarding the Select2 plugin. when using ajax pop-up, on the website with the old version the select options don't show and on the one with a newer version - I can't focus on the search field inside the select box.

I have tried using this code that I found everywhere: $.fn.modal.Constructor.prototype.enforceFocus = function() {};

or

<select id="mySelect2">

</select>
$('#mySelect2').select2({
    dropdownParent: $('#myModal')
});

But they don't work

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda