Skip to content

Commit

Permalink
Merge pull request #290 from Oksydan/core-js-addres-form-fix
Browse files Browse the repository at this point in the history
address update fix
  • Loading branch information
Oksydan authored Oct 3, 2023
2 parents 7f459fb + 20b5385 commit 53d65e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const changeAddressCountryHandler = async () => {

// Restore fields values
newFormInputs.forEach((input) => {
input.value = inputsValue[input.name];
input.value = typeof inputsValue[input.name] !== 'undefined' ? inputsValue[input.name] : '';
});

prestashop.emit('updatedAddressForm', {
Expand Down

0 comments on commit 53d65e4

Please sign in to comment.