Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2303)

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html

Issue 2154263004: [MD Settings] Lazy create dialogs in Passwords and Autofill section. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback 2.0 Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
index 83e68f8af4c594fda833807c7ed9ce4457f53ac2..2ec48bac5ca27d8da880c6182e728210ee08934b 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
@@ -38,14 +38,15 @@
<div class="title">[[title_]]</div>
<div class="body">
<paper-input id="nameInput" label="$i18n{creditCardName}"
- value="{{item.name}}" always-float-label></paper-input>
+ value="{{creditCard.name}}" always-float-label></paper-input>
<paper-input id="numberInput" label="$i18n{creditCardNumber}"
- value="{{item.cardNumber}}" always-float-label></paper-input>
+ value="{{creditCard.cardNumber}}" always-float-label>
+ </paper-input>
<label>$i18n{creditCardExpiration}</label>
<paper-dropdown-menu class="month-dropdown" no-label-float
label="$i18n{creditCardExpirationMonth}">
<paper-listbox class="dropdown-content months"
- selected="{{item.expirationMonth}}" attr-for-selected="name">
+ selected="{{expirationMonth}}" attr-for-selected="name">
<template is="dom-repeat" items="[[monthList_]]">
<button class="dropdown-item" role="option" name="[[item]]">
[[item]]
@@ -56,7 +57,7 @@
<paper-dropdown-menu class="year-dropdown" no-label-float
label="$i18n{creditCardExpirationYear}">
<paper-listbox id="yearList" class="dropdown-content years"
- selected="{{item.expirationYear}}" attr-for-selected="name">
+ selected="{{expirationYear}}" attr-for-selected="name">
<template is="dom-repeat" items="[[yearList_]]">
<button class="dropdown-item" role="option" name="[[item]]">
[[item]]

Powered by Google App Engine
This is Rietveld 408576698