Skip to content

Commit

Permalink
Bump version to 0.9.3 and rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
haacked committed Dec 12, 2023
1 parent 15bdd9a commit 6bb07bd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion dist/aspnet-validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,13 @@ var MvcValidationProviders = /** @class */ (function () {
if (!hasValue) {
continue;
}
fields[fieldName] = fieldElement.value;
if (fieldElement instanceof HTMLInputElement &&
(fieldElement.type === 'checkbox' || fieldElement.type === 'radio')) {
fields[fieldName] = fieldElement.checked ? fieldElement.value : '';
}
else {
fields[fieldName] = fieldElement.value;
}
}
var url = params['url'];
var encodedParams = [];
Expand Down
2 changes: 1 addition & 1 deletion dist/aspnet-validation.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aspnet-validation.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aspnet-client-validation",
"version": "0.9.2",
"version": "0.9.3",
"description": "Enables ASP.NET MVC client-side validation, without jQuery!",
"main": "dist/aspnet-validation.js",
"style": "dist/aspnet-validation.css",
Expand Down

0 comments on commit 6bb07bd

Please sign in to comment.