diff --git a/src/widgets/customapi/component.jsx b/src/widgets/customapi/component.jsx index 7e6ad4d7..45e6ea6e 100644 --- a/src/widgets/customapi/component.jsx +++ b/src/widgets/customapi/component.jsx @@ -90,6 +90,11 @@ function formatValue(t, mapping, rawValue) { // nothing } + // Apply fixed prefix. + const prefix = mapping?.prefix; + if (prefix) { + value = `${prefix}${value}`; + } // Apply fixed suffix. const suffix = mapping?.suffix; if (suffix) {