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

235
Views
Select2 Ajax no mostrará los resultados

Estoy teniendo problemas con el select2

 $('#charity_user_id').select2({ ajax: { url: "/get-users", dataType: 'get', delay: 250, data: function (params) { return { q: params.term, // search term page: params.page }; }, processResults: function (data) { return { results: data }; }, cache: true }, minimumInputLength: 4, });

El resultado de mi llamada ajax es algo como esto:

 [{id: 24941, text: "mail@mail.com"}]

¿Por qué select2 no muestra los resultados? Solo dice "No se pudieron cargar los resultados"

about 4 years ago · Santiago Trujillo
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!