From 3943bbc8346d4ff58f725db2e5e4de9622d89fab Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 8 Apr 2015 22:56:57 -0400 Subject: adding enum type --- examples/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/index.js') 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"]} } }, -- cgit v1.2.3-70-g09d2