diff --git a/core/misc/states.js b/core/misc/states.js index 24374b625f..295c547336 100644 --- a/core/misc/states.js +++ b/core/misc/states.js @@ -452,6 +452,12 @@ // The function associated with that trigger returns the new value for // the state. return this.val() === ''; + }, + // 'change' is the (native DOM) event that we watch for. + change: function () { + // The function associated with that trigger returns the new value for + // the state. + return this.val() === ''; } },