summaryrefslogtreecommitdiff
path: root/examples/index.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-08 22:56:57 -0400
committerJules Laplace <jules@okfoc.us>2015-04-08 22:56:57 -0400
commit3943bbc8346d4ff58f725db2e5e4de9622d89fab (patch)
treee67585153df1b1cb389619ea23685545ed33c4bd /examples/index.js
parent7db10b2a6cd6cbea246ccd6c77fe6518be76da20 (diff)
adding enum type
Diffstat (limited to 'examples/index.js')
-rw-r--r--examples/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/index.js b/examples/index.js
index 8846e3a..56693ce 100644
--- a/examples/index.js
+++ b/examples/index.js
@@ -14,7 +14,7 @@ var app = okcms.createApp({
type: {type: 'string', id: true},
title: {type: 'string'},
description: {type: 'text'},
- color: {type: 'enum', fields: ["red","blue","green"]}
+ color: {type: 'enum', options: ["red","blue","green"]}
}
},