Merge pull request #127 from YunoHost/fix-checkbox

[fix] Ensure checkbox is not required for boolean fields
This commit is contained in:
opi 2016-05-23 11:33:56 +02:00
commit b17f1ebdce

View file

@ -167,6 +167,9 @@
// 'default' is used as value, so we need to force it for checkboxes.
data.manifest.arguments.install[k].default = 1;
// Checkbox should not be required to be unchecked
data.manifest.arguments.install[k].required = '';
}
// 'password' type input.