serby/control — Issue #38: generic: no check to see if first field is hidden before assuming it to be title
Author: robnoake
Created: 2012-03-01 12:19:22+00:00
State: open

When creating viewSchema using generic, there is no check to see if the first field is hidden or in list before assuming it should be used as title field.

Example:
```javascript
var viewSchema = generic.createViewSchema({
groups: [{
name: 'My broken view',
description: 'This view is broken unless I explicitly set the title property',
properties: {
_id: {
form: true,
type: 'hidden'
},
name: {
list: true,
view: true,
createForm: true,
updateForm: true
}
}]
});
// ...remainder of code...
```