[ios] Adds editing capabilities to SaveCard Infobar Modal
- Adds a public flag to SaveCardTVC (supportsEditing), if YES then cardholder name, expiration month and year will be editable. - Implements updateSaveCardButtonState which checks the correctness of the Data: No empty cardholder name, and a valid expiration date. meaning that the year is the current one or older, and the month has a valid value for the selected year. - If one of the previous check doesn't pass then the Save Card button is disabled. Bug: 1014652 Change-Id: I61625a504a7da9617f842436862d58a32871882d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1932799 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:Peter Lee <pkl@chromium.org> Reviewed-by:
Chris Lu <thegreenfrog@chromium.org> Cr-Commit-Position: refs/heads/master@{#719962}
Showing
Please register or sign in to comment