Added autocomplete and city reset for validation
This commit is contained in:
parent
a0ab81acaa
commit
4c60dc054f
1 changed files with 4 additions and 0 deletions
|
|
@ -158,6 +158,8 @@ export default {
|
||||||
// on the service-zip-modal-question component
|
// on the service-zip-modal-question component
|
||||||
this.$refs[this.modalName].form.resetForm({
|
this.$refs[this.modalName].form.resetForm({
|
||||||
values: {
|
values: {
|
||||||
|
autocomplete: updatedServiceZipCodeInfo.streetAddress,
|
||||||
|
city: updatedServiceZipCodeInfo.city,
|
||||||
state: updatedServiceZipCodeInfo.state,
|
state: updatedServiceZipCodeInfo.state,
|
||||||
zipCode: updatedServiceZipCodeInfo.zipCode,
|
zipCode: updatedServiceZipCodeInfo.zipCode,
|
||||||
isVehicleProtected: updatedServiceZipCodeInfo.isVehicleProtected,
|
isVehicleProtected: updatedServiceZipCodeInfo.isVehicleProtected,
|
||||||
|
|
@ -197,6 +199,8 @@ export default {
|
||||||
this.internalModel = deepClone(newValue);
|
this.internalModel = deepClone(newValue);
|
||||||
|
|
||||||
this.resetComponent({
|
this.resetComponent({
|
||||||
|
autocomplete: updatedServiceZipCodeInfo.streetAddress,
|
||||||
|
city: updatedServiceZipCodeInfo.city,
|
||||||
state: newValue.addressQuestions.state,
|
state: newValue.addressQuestions.state,
|
||||||
zipCode: newValue.addressQuestions.zipCode,
|
zipCode: newValue.addressQuestions.zipCode,
|
||||||
isVehicleProtected: newValue.isVehicleProtected,
|
isVehicleProtected: newValue.isVehicleProtected,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue