Saltar navegación

[Resuelto] Date time field CSS removed with ajax filter view

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
Date time field CSS removed with ajax filter view

Solution:
Toolset offers the ajax event hook: js_event_wpv_parametric_search_results_updated

Which you can use the add your custom CSS code and try to apply it using the jQuery.

Relevant Documentation:
=> https://toolset.com/documentation/programmer-reference/adding-custom-javascript-code-to-views-that-use-ajax/
=> https://toolset.wiki/article/trigger-js-event-after-ajax-finished/

This support ticket is created hace 3 años, 11 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Puntorosso hace 3 años, 11 meses.

Asistido por: Minesh.

Autor
Mensajes
#2061835

I have some problem formatting a date/time field with CSS.
The text form labels (minute, seconds) are set to display:none and I have set a width for the date-field.
It looks good but, as soon as I start an Ajax search, the date field expand to full length.
If I refresh the page, maintaining the same URL parameters, it's formatted again

enlace oculto

What I am doing wrong?

#2062509

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset offers the ajax event hook: js_event_wpv_parametric_search_results_updated

Which you can use the add your custom CSS code and try to apply it using the jQuery.

More info:
=> https://toolset.com/documentation/programmer-reference/adding-custom-javascript-code-to-views-that-use-ajax/
=> enlace oculto

#2065427

My issue is resolved now. Thank you!