diff --git a/app/src/helpers/yunohostArguments.js b/app/src/helpers/yunohostArguments.js index 70fb21aa..bd322fc3 100644 --- a/app/src/helpers/yunohostArguments.js +++ b/app/src/helpers/yunohostArguments.js @@ -56,7 +56,7 @@ export function adressToFormValue (address) { * @return {Object} an formated argument containing formItem props, validation and base value. */ export function formatYunoHostArgument (arg) { - let value = null + let value = (arg.value !== undefined) ? arg.value : null const validation = {} arg.ask = formatI18nField(arg.ask) const field = {