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

104
Visualizações
Drupal 9 - How to pass view data to javascript

I have a custom module with a view that lists some data from a web service and has some filters in it (date, numeric, combos, etc). I need to modify some filters when others change their value. For example, When the user changes the date, I have to change the selected value of a combo box. I was trying to pass the filter values to a javascript file, but I couldn't find a way yet. I tried using the "page_attachments" hook and a controller but none of them work.

Can somebody point me in the right direction on how I can do this? Thanks in advance.

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