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

219
Views
El control de formulario select2 no se enfoca al tabular

Al intentar tabular sobre los campos, los campos no se resaltarán. He probado muchas soluciones como:

 .select2-selection__rendered:focus{ outline: none !important; box-shadow: 0px 0px 5px 2px lightblue !important; }

Mi campo de selección se parece a:

 <div class="col"> <label>Start Month *</label> <select name="startMonth" class="select2 form-control" tabindex="0"> {%for month, name in months%} <option value="{{ month }}">{{ name }}</option> {% endfor %} </select> </div>

Si bien tabindex ="0" en <div class="col"> me permite resaltar el campo, tengo que tabular una vez más antes de poder presionar Intro para ver las opciones en el campo.

También he notado que :hover funciona pero no :focus .

cómo se ve mi sitio

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

así que descubrí que la clase CSS era .select2-selection--single

y termine haciendo:

 .select2-selection--single:focus, .select2-selection--single:hover{ box-shadow: 0px 0px 5px 2px lightcoral !important; }
about 4 years ago · Juan Pablo Isaza Report
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!