From 3745aa7b2595805926b3f24583a6c16db23a2e3a Mon Sep 17 00:00:00 2001 From: Dmitrii Filippov Date: Tue, 24 Sep 2019 17:51:27 +0200 Subject: [PATCH] Fix for preferred e-mail address iron-input should use bind-value instead of value. This works both in Polymer 1 and Polymer 2 Bug: Issue 11557 Change-Id: I28e0e3f772661bf1f07232846d4bc3cf2f999f7e --- .../app/elements/settings/gr-email-editor/gr-email-editor.html | 2 +- .../elements/settings/gr-email-editor/gr-email-editor_test.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/polygerrit-ui/app/elements/settings/gr-email-editor/gr-email-editor.html b/polygerrit-ui/app/elements/settings/gr-email-editor/gr-email-editor.html index f508288a85..b30bd52297 100644 --- a/polygerrit-ui/app/elements/settings/gr-email-editor/gr-email-editor.html +++ b/polygerrit-ui/app/elements/settings/gr-email-editor/gr-email-editor.html @@ -68,7 +68,7 @@ limitations under the License. type="radio" on-change="_handlePreferredChange" name="preferred" - value="[[item.email]]" + bind-value="[[item.email]]" checked$="[[item.preferred]]"> {