From b71821d1a917762dba4d6754399d6de5ec8d145b Mon Sep 17 00:00:00 2001 From: Tibi Craciun Date: Tue, 9 Jul 2019 20:21:04 +0300 Subject: [PATCH] fixed #3199 --- src/compiler/compile/render_dom/wrappers/Element/Binding.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts index b8057ae6d7..b1d7b52b66 100644 --- a/src/compiler/compile/render_dom/wrappers/Element/Binding.ts +++ b/src/compiler/compile/render_dom/wrappers/Element/Binding.ts @@ -109,7 +109,8 @@ export default class BindingWrapper { if (parent.node.name === 'input') { const type = parent.node.get_static_attribute_value('type'); - if (type === null || type === "" || type === "text") { + if (type === null || type === "" || type === "text" + || type === "email" || type === "password") { update_conditions.push(`(${parent.var}.${this.node.name} !== ${this.snippet})`); } }