Stopped validation from automatically running on change.

This commit is contained in:
2025-11-14 19:28:51 -08:00
parent 966209a7a0
commit 32f8899680

View File

@@ -149,15 +149,6 @@ IgniteTemplate.prototype.validate = function (callback) {
//Setup the validators array if it doesn't exist.
if (!this._validators) {
this._validators = [];
//Setup an event for change to run the validators.
this.on("change", () => {
for (var i = 0; i < this._validators.length; i++) {
if (!this._validators[i]()) {
return false;
}
}
});
}
//Register a new validator