From 10733f2973a75b1cbb7ceb4562d4685bf151208f Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 6 Jan 2022 13:49:07 +0100 Subject: [PATCH] Fix page break in forms #854 --- www/form/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/form/inner.js b/www/form/inner.js index c5e51dae2..bceb1219b 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -3370,7 +3370,7 @@ define([ if (!model) { return; } content.form[_uid] = { //q: Messages.form_default, - opts: Util.clone(model.defaultOpts), + opts: model.defaultOpts ? Util.clone(model.defaultOpts) : undefined, type: type, }; if (full || inSection) {