Skip to content

Commit

Permalink
remove nameField check clause #968
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmck committed Feb 5, 2015
1 parent 69b4902 commit 5211a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ List.prototype.getOptions = function() {
return;
}
// don't output hidden fields
if (el.field === this.nameField || el.field.hidden) {
if (el.field.hidden) {
return;
}
// add the field to the elements array
Expand Down

0 comments on commit 5211a34

Please sign in to comment.