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

145
Visualizações
URL Params Shorten while reloading Angular Page

I am working on an angular project. There are some filters to filter out some data and display it. All the filters are working fine and while I add some value in the filters it also updates the URL. Like if I add value in my video type filter, the URL add the filter values in the URL as a parmas. For example:

https://localhost:4200/example?video_format_type=Outstream

If I add another value in the filter, then the URL is becomes like

https://localhost:4200/example?video_format_type=Outstream&video_format_type=Instream

But I reload the page the get shorten. It removes all the params except the first one.

https://localhost:4200/example?video_format_type=Outstream

Why the URL params is get shorten or vanishes while reloading the page?

this.router.navigate([], {
      queryParams,
      queryParamsHandling: 'merge'
    });

I have done some research over internet. But have not find any possible cause why this possibly could happen? It may be noob question to ask. But I am new in angular. It would be great if anyone give me some suggestions on that.

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