Closed TomashKhamlai closed 4 years ago
Customers should be able to save the optional region while config option Allow to Choose State if It is Optional for Country is set to Yes only
<Ctrl>
<Cmd>
mutation { createCustomerAddress( input: { country_code: US firstname: "John" lastname: "Doe" city: "Culver City" region: { region_code: "CA" region_id: 12 region: "California" } street: [ "6161 West Centinella Avenue" ] postcode: "90230" telephone: "+1 555 555 5555" default_billing: true default_shipping: true } ) { country_code firstname lastname city region { region region_code } street postcode telephone default_billing default_shipping } }
Expected result: :heavy_check_mark: validation or region ignorance
Actual result: :x: Region is present in the address
@lenaorobei, please confirm or modify expectations.
@TomashKhamlai please check latest 2.3-develop. This issue should be fixed.
2.3-develop
@lenaorobei, case 3 is still reproducible
Preconditions (*)
Steps to reproduce (*)
Customers should be able to save the optional region while config option Allow to Choose State if It is Optional for Country is set to Yes only
<Ctrl>
or<Cmd>
and remove the United States from the selection.Expected result: :heavy_check_mark: validation or region ignorance
Actual result: :x: Region is present in the address