Skip to content

Commit ed09a05

Browse files
committed
Bump version to 0.8.16
1 parent 6dd5954 commit ed09a05

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

dist/aspnet-validation.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,11 @@ var ValidationService = /** @class */ (function () {
703703
// we could use 'matches', but that's newer than querySelectorAll so we'll keep it simple and compatible.
704704
forms.push(root);
705705
}
706+
// If root is the descendant of a form, we want to include that form too.
707+
var containingForm = (root instanceof Element) ? root.closest('form') : null;
708+
if (containingForm) {
709+
forms.push(containingForm);
710+
}
706711
for (var _a = 0, forms_1 = forms; _a < forms_1.length; _a++) {
707712
var form = forms_1[_a];
708713
var validationMessageElements_3 = Array.from(form.querySelectorAll('[data-valmsg-for]'));

dist/aspnet-validation.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/aspnet-validation.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aspnet-client-validation",
3-
"version": "0.8.15",
3+
"version": "0.8.16",
44
"description": "Enables ASP.NET MVC client-side validation, without jQuery!",
55
"main": "dist/aspnet-validation.js",
66
"style": "dist/aspnet-validation.css",

0 commit comments

Comments
 (0)