vue-storefront: Incorrect working of checkboxes in checkout

Current behavior

After marking the “ship to my default address” or “copy address data from shipping” checkbox, the form is not filled in with data, whereas after unmarking checkboxes - forms are filled in. incorrectoperationofcheckboxe

Expected behavior

After selecting the “ship to my default address” or “copy address data from shipping” checkbox, the appropriate form is filled with data.

Steps to reproduce the issue

  1. Go to https://test.storefrontcloud.io
  2. Add any product to the cart
  3. Go to checkout
  4. Login to your account (which has memorized shipping details)
  5. Continue to shipping
  6. Mark checkbox “ship to my default address”
  7. Unmark checkbox “ship to my default address”
  8. Continue to payment
  9. Mark chceckbox “copy address data from shipping”
  10. Unmark checkbox “copy address data from shipping”

Can you handle fixing this bug by yourself?

  • NO

Which Release Cycle state this refers to? Info for developer.

Pick one option.

  • This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
  • This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
  • This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

  • Browser: Chrome 73
  • OS: Windows 10

Additional information

This problem only appears on the environment https://test.storefrontcloud.io, does not appear on next and demo.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18

Commits related to this issue

Most upvoted comments

@dimasch yeah, now it works 😃

@dimasch I found one bug on your branch. Please see my video (it is about validation of Company name field) invoice

@alinadivante Thanks. I will go to fix.

@dimasch we need to improve this, because now, if I mark “Copy address data from shipping” it is correctly filled, but if i change my mind and I want to choose “Use my billing data”, then form is cleared. I have to unmark selected checkbox and mark it again.

payment