Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

101
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda