From 17ee79846ba6eb19424f15fa0e6ed31707054569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sun, 22 May 2016 21:41:25 +0200 Subject: [PATCH] [fix] Ensure checkbox is not required for boolean fields --- src/js/yunohost/controllers/apps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/yunohost/controllers/apps.js b/src/js/yunohost/controllers/apps.js index 40e17749..7f52923b 100644 --- a/src/js/yunohost/controllers/apps.js +++ b/src/js/yunohost/controllers/apps.js @@ -157,6 +157,7 @@ // Boolean fields if (data.manifest.arguments.install[k].type == 'boolean') { data.manifest.arguments.install[k].inputType = 'checkbox'; + data.manifest.arguments.install[k].required = ''; // Checked or not ? if (typeof data.manifest.arguments.install[k].default !== 'undefined') {