Skip to content

Commit

Permalink
- added input type file to excluded fields. Closes guillaumepotier#252
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumepotier committed May 23, 2013
1 parent 24033f3 commit a1b36ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/parsley-standalone.min.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/parsley.min.js

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

2 changes: 1 addition & 1 deletion parsley.js
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@
$.fn.parsley.defaults = {
// basic data-api overridable properties here..
inputs: 'input, textarea, select' // Default supported inputs.
, excluded: 'input[type=hidden], :disabled' // Do not validate input[type=hidden] & :disabled.
, excluded: 'input[type=hidden], input[type=file], :disabled' // Do not validate input[type=hidden] & :disabled.
, trigger: false // $.Event() that will trigger validation. eg: keyup, change..
, animate: true // fade in / fade out error messages
, animateDuration: 300 // fadein/fadout ms time
Expand Down

0 comments on commit a1b36ae

Please sign in to comment.