Skip to content

Commit

Permalink
Merge pull request #113 from haacked/haacked/release-0.10.1
Browse files Browse the repository at this point in the history
Increase version to 0.10.1
  • Loading branch information
haacked authored May 8, 2024
2 parents 36a24f1 + b2a8327 commit 09628cb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/aspnet-validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ var MvcValidationProviders = /** @class */ (function () {
}
return false;
}
// Default behavior otherwise.
return Boolean(value);
// Default behavior otherwise (trim ensures whitespace only is not seen as valid).
return Boolean(value === null || value === void 0 ? void 0 : value.trim());
};
/**
* Validates whether the input value satisfies the length contstraint.
Expand Down
Loading

0 comments on commit 09628cb

Please sign in to comment.