[Web Payment] Require name in address, country selector on top.
Before this patch, the address editor on desktop would not require the full name. However, Payment Request shipping addresses cannot be empty, which is checked in several other places in the code. So the saved address would immediately have a "Name required" error next to it in the address selection screen. In addition, desktop address editor placed the country selector between the name and the rest of the address fields, whereas Android placed the country on top, which makes sense, since changing the country can change all fields, including the position of the name field. This patch makes the name always required in the address editor on desktop and places the country selector on top. Bug: 992081 Change-Id: I028c296289e4635c9c5c12dc10c59102d321fa30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1743094Reviewed-by:Danyao Wang <danyao@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#685375}
Showing
Please register or sign in to comment