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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/address_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/address_edit_dialog.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
index fb1280eaa1e5ecf6b0dbdb9fc2cf0f236db8a4e0..e78bb988140307b806747b3604f0cdcea1c64092 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html
@@ -63,12 +63,13 @@
<template is="dom-if" if="[[item.isTextArea]]">
<paper-textarea label="[[item.component.fieldName]]"
value="{{item.value}}" on-value-changed="updateCanSave_"
- class$="address-column [[long_(item)]]" always-float-label>
+ class$="address-column [[long_(item)]]" always-float-label
+ autofocus>
</paper-textarea>
</template>
<template is="dom-if" if="[[!item.isTextArea]]">
<paper-input type="text" label="[[item.component.fieldName]]"
- always-float-label value="{{item.value}}"
+ always-float-label autofocus value="{{item.value}}"
on-value-changed="updateCanSave_"
class$="address-column [[long_(item)]]">
<iron-a11y-keys keys="enter"

Powered by Google App Engine
This is Rietveld 408576698