Added a few other field types to test file.

This commit is contained in:
Scott Hatcher
2015-07-13 08:00:46 -07:00
parent 700ec57d8b
commit d48e140826
+21
View File
@@ -15,6 +15,9 @@ class AppController {
minlength: 3
}
},
{
template: '<hr />'
},
{
field: 'project',
type: 'input',
@@ -25,6 +28,24 @@ class AppController {
},
{
template: () => 'hello'
},
{
type: 'input',
key: 'zip',
templateOptions: {
type: 'number',
label: 'Zip',
max: 99999,
min: 0,
pattern: '\\d{5}'
}
},
{
type: 'checkbox',
key: 'happyUser',
templateOptions: {
label: 'Are you happy?'
}
}
]
}