Open leogtzr opened 3 months ago
This is the suggested code:
$('#direccionEstado').on('change', function() { const estado = $('#direccionEstado').val(); const pais = $('#direccionPais').val(); if (estado && pais) { fetchCitiesByStateId(estado); } }).trigger('change');
This is the offending code:
This is the suggested code:
This is the offending code: