fix: check url and search input field values before updating (#7111)

Fixes #7027
pull/8326/head
Hong-Kuan Wu 2 years ago committed by GitHub
parent 9f89a92d31
commit 835362af88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -120,7 +120,9 @@ export default class BindingWrapper {
type === '' || type === '' ||
type === 'text' || type === 'text' ||
type === 'email' || type === 'email' ||
type === 'password' type === 'password' ||
type === 'search' ||
type === 'url'
) { ) {
update_conditions.push( update_conditions.push(
x`${parent.var}.${this.node.name} !== ${this.snippet}` x`${parent.var}.${this.node.name} !== ${this.snippet}`

Loading…
Cancel
Save