Skip to content

Commit e90b3ed

Browse files
committed
Merge branch 'master' of https://github.com/collingo/form into collingo-master
2 parents 1f723a8 + b15b338 commit e90b3ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ $.fn.formToArray = function(semantic, elements) {
815815
else if (v !== null && typeof v != 'undefined') {
816816
if (elements)
817817
elements.push(el);
818-
a.push({name: n, value: v, type: el.type});
818+
a.push({name: n, value: v, type: el.type, required: el.required});
819819
}
820820
}
821821

0 commit comments

Comments
 (0)