Merge pull request #47 from jeanmatthieud/fix-checkout-phone-field
[FIX] Bug when phone number field is cleared during checkout
This commit is contained in:
commit
f94a3e2fb5
@ -150,7 +150,7 @@ class _CheckoutDetailsPageState extends State<CheckoutDetailsPage> {
|
|||||||
_txtBillingAddressLine.text = addressLine!;
|
_txtBillingAddressLine.text = addressLine!;
|
||||||
_txtBillingCity.text = city!;
|
_txtBillingCity.text = city!;
|
||||||
_txtBillingPostalCode.text = postalCode!;
|
_txtBillingPostalCode.text = postalCode!;
|
||||||
_txtBillingPhoneNumber.text = phoneNumber!;
|
_txtBillingPhoneNumber.text = phoneNumber ?? "";
|
||||||
_txtBillingEmailAddress.text = emailAddress!;
|
_txtBillingEmailAddress.text = emailAddress!;
|
||||||
_billingCountry = customerCountry;
|
_billingCountry = customerCountry;
|
||||||
} else if (type == "shipping") {
|
} else if (type == "shipping") {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user