[fix] No value displayed in config panel

This commit is contained in:
ljf 2021-08-26 19:33:50 +02:00
parent bcd07f1e47
commit 911c5deeb0

View file

@ -56,7 +56,7 @@ export function adressToFormValue (address) {
* @return {Object} an formated argument containing formItem props, validation and base value. * @return {Object} an formated argument containing formItem props, validation and base value.
*/ */
export function formatYunoHostArgument (arg) { export function formatYunoHostArgument (arg) {
let value = null let value = (arg.value !== undefined) ? arg.value : null
const validation = {} const validation = {}
arg.ask = formatI18nField(arg.ask) arg.ask = formatI18nField(arg.ask)
const field = { const field = {