Merge pull request #3208 from tiberiuc/fix/3199

fixed #3199
pull/3213/head
Rich Harris 5 years ago committed by GitHub
commit 7dc4ef2c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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})`);
}
}

Loading…
Cancel
Save