diff --git a/src/widgets/customapi/component.jsx b/src/widgets/customapi/component.jsx index b8147caa..7624c2f5 100644 --- a/src/widgets/customapi/component.jsx +++ b/src/widgets/customapi/component.jsx @@ -18,7 +18,7 @@ function getValue(field, data) { // shvl is easier, everything else is kept for backwards compatibility. if (typeof field === "string") { - return shvl.get(data, field, null); + return shvl.get(data, field, null) ?? data[field] ?? null; } while (typeof lastField === "object") {