From c9654a789267c01bf4c687c47d1978525cf84996 Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 30 Jun 2021 16:51:50 +0530 Subject: [PATCH] remove XXX notes from forms and comment why they were there --- www/form/inner.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/form/inner.js b/www/form/inner.js index 123e86d5b..23332b944 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -80,8 +80,11 @@ define([ timeFormat = "h:i K"; } - var MAX_OPTIONS = 15; // XXX - var MAX_ITEMS = 10; // XXX + // multi-line radio, checkboxes, and possibly other things have a max number of items + // we'll consider increasing this restriction if people are unhappy with it + // but as a general rule we expect users will appreciate having simpler questions + var MAX_OPTIONS = 15; + var MAX_ITEMS = 10; var saveAndCancelOptions = function (getRes, cb) { // Cancel changes