I am trying to create a virtual parameter that is editable, but I am getting a error with a extremely simple code, from what I understood of the docs: https://github.com/genieacs/genieacs/wiki/Virtual-Parameters.
Fault:
NAME:
ReferenceError
MESSAGE:
VALUES is not defined
STACK:
ReferenceError: VALUES is not defined
at RunningDiagnostics:3:1
RunningDiagnostics VirtualParameter:
let diags = ''
if (VALUES && VALUES.value) {diags = VALUES.value[0]}
return {writable: true, value: [diags, 'xsd:string']}