From 6cf6a81d38ceeaedd122ebc97f88c8fca034b57e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 28 Sep 2020 03:12:56 +0200 Subject: Add the sad sad boolean. --- static/script.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/script.js b/static/script.js index b94d0f2b..f5b137a3 100644 --- a/static/script.js +++ b/static/script.js @@ -728,6 +728,10 @@ window.onload = function () { })); break; + case 'boolean': + value.type = 'checkbox'; + break; + case 'period': value.type = 'text'; // TODO validate /P\d*H/ typ @@ -790,6 +794,7 @@ let all_types = [ 'utc-offset', 'cal-address', 'recur', + 'boolean', ] -- cgit v1.2.3