diff --git a/Src/knockout.validation.js b/Src/knockout.validation.js index bb608c16..9458215e 100644 --- a/Src/knockout.validation.js +++ b/Src/knockout.validation.js @@ -17,7 +17,8 @@ grouping: { deep: false, //by default grouping is shallow observable: true //and using observables - } + }, + onValidationElementUpdated: function () { } }; var html5Attributes = ['required', 'pattern', 'min', 'max', 'step']; @@ -580,6 +581,8 @@ var obsv = valueAccessor(); obsv.extend({ validatable: true }), config = utils.getConfigOptions(element); + + config.onValidationElementUpdated(obsv, element); var cssSettingsAccessor = function () { var result = {};