Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

152
Visualizações
Split up bootstrap 3 typeahead search

I'm currently working on implementing a search autofill and they have been using bootstrap typeahead for almost all their autofill functions. The problem with the one I'm currently working on is it doesn't spit out the correct info.

Basically, bootstrap prints out the sku and then the product info into a search row (eg. 18238 EB 25 Edge Bander), and then will search this. When the code searches this though, it looks for a title that matches exactly that, with the sku, which doesn't exist. If I search just "18238" or just "EB 25 Edge Bander", I get the correct results, but they want the search suggestions to show both the sku and the title.

I'm wondering if there's a way to either split the bootstrap search into two, like if it's numbers go by sku and if it's letters go by title, or if there's a way to have it display both as options but only search one or the other (display 18238 EB 25 Edge Bander and search for 18238)?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda