Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/collingo/form into collin…
Browse files Browse the repository at this point in the history
…go-master
  • Loading branch information
malsup committed Apr 6, 2012
2 parents 1f723a8 + b15b338 commit e90b3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.form.js
Expand Up @@ -815,7 +815,7 @@ $.fn.formToArray = function(semantic, elements) {
else if (v !== null && typeof v != 'undefined') {
if (elements)
elements.push(el);
a.push({name: n, value: v, type: el.type});
a.push({name: n, value: v, type: el.type, required: el.required});
}
}

Expand Down

0 comments on commit e90b3ed

Please sign in to comment.