CASH-353 - Made sure that we are not clearing out the zip code for heavy truck

This commit is contained in:
Minojhini Valaiyapathi 2025-05-01 10:03:28 -04:00
parent 515e55689e
commit f1ef84cf21

View file

@ -520,8 +520,8 @@ export default {
},
showServiceZipField: {
handler(newValue) {
// If the Service Zip Code field is ever hidden, clear out it's value
if (!newValue) {
// If the Service Zip Code field is ever hidden and not a heavy truck, clear out it's value
if (!newValue && !this.isHeavyTruck) {
this.serviceZipCode = null;
}
},