WebDatePicker - NOT show Clear

WebDatePicker
How do I do so that when displaying the calendar it does NOT show the Clear date.

(Como hago para que al desplegar el calendario NO muestre el Borrar la fecha?)

Captura de pantalla 2023-02-13 a la(s) 09.00.00

We need to add a feature request for Xojo to add some configuration options for bootstrap-datepicker

Until then, you can use this code (just a rapid test, don’t know if this breaks something else)

<style>
.clear {display: none !important;}
</style>

Necesitamos que Xojo ofresca las opciones de configuración de bootstrap-datepicker, hay que abrir un ‘Feature Request’. Nota: Tengo entendido que el bootstrap-datepicker require JQuery y Xojo al ir por Bootstrap 5 tal vez actualice el datepicker para no usar JQuery, ya veremos mas adelante, tal vez para 2023r2.

Mientras tanto, prueba este código en App HTML Header (no sé si cause problemas con algo mas):

<style>
.clear {display: none !important;}
</style>
2 Likes

@AlbertoD muchas gracias, solucionando como siempre!