diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-08 22:56:57 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-08 22:56:57 -0400 |
| commit | 3943bbc8346d4ff58f725db2e5e4de9622d89fab (patch) | |
| tree | e67585153df1b1cb389619ea23685545ed33c4bd /examples/index.js | |
| parent | 7db10b2a6cd6cbea246ccd6c77fe6518be76da20 (diff) | |
adding enum type
Diffstat (limited to 'examples/index.js')
| -rw-r--r-- | examples/index.js | 2 |
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"]} } }, |
