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

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

Issue 2722873002: MD Settings: Autofocus first text input in various dialogs. (Closed)
Patch Set: More dialogs Created 3 years, 10 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 8b9e398607ec2e0542b726f7e8e12cec4975929a..c58be1787feedfe19f052de1ab4c01fd1625c006 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
@@ -50,7 +50,7 @@
<iron-a11y-keys keys="enter" on-keys-pressed="onSaveButtonTap_">
</iron-a11y-keys>
<paper-input id="nameInput" label="$i18n{creditCardName}"
- value="{{creditCard.name}}" always-float-label
+ value="{{creditCard.name}}" always-float-label autofocus
on-input="onCreditCardNameOrNumberChanged_">
</paper-input>
<paper-input id="numberInput" label="$i18n{creditCardNumber}"

Powered by Google App Engine
This is Rietveld 408576698