Skip to content

Commit

Permalink
Merge pull request #15 from AndyButland/feature/add-support-for-formn…
Browse files Browse the repository at this point in the history
…ovalidate

Adds support for the formnovalidate attribute to skip validation on back buttons in multi-page forms.
  • Loading branch information
haacked authored Mar 15, 2022
2 parents 262e10e + 6b88854 commit 0d19f88
Show file tree
Hide file tree
Showing 11 changed files with 6,998 additions and 2,856 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ v.addProvider('classicmovie', (value, element, params) => {
// Let [Required] handle validation error for empty input...
return true;
}

// Unlike the original, data-val-classicmovie-year is bound automatically to params['year'] as string!
let year = parseInt(params.year);
let date = new Date(value);
Expand Down
11 changes: 11 additions & 0 deletions dist/aspnet-validation.js

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

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.

Loading

0 comments on commit 0d19f88

Please sign in to comment.