From d2a72587809d84e133cde5b30e167ae64a41ca51 Mon Sep 17 00:00:00 2001 From: Richard Lai Date: Tue, 6 Dec 2016 18:44:47 -0500 Subject: [PATCH] Add checkbox as boolean type --- src/util/types.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/types.js b/src/util/types.js index 0a1332e..114ee3d 100644 --- a/src/util/types.js +++ b/src/util/types.js @@ -38,7 +38,8 @@ types.array = types.listbox = wrapWithDefaults(SelectInput, { multiple: true }) types.bool = - types.boolean = BoolInput + types.boolean = + types.checkbox = BoolInput types.textarea = wrapWithDefaults(Input, { tagName: 'textarea' })