mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Ensure checkbox is not required for boolean fields
This commit is contained in:
parent
0872cfa61b
commit
17ee79846b
1 changed files with 1 additions and 0 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Reference in a new issue