Hello, a few days ago I managed to reference data of the child elements outside the List View through .instanceValues
. I wrote the transformer and all was fine.
let fieldsInstanceValues = {{wt_edit_fields.instanceValues}};
fieldsInstanceValues.forEach(a => delete a.primaryKey);
let templateFields =
fieldsInstanceValues.map(function(row) {
return {
place: row.wt_edit_fields_place,
label: row.wt_edit_fields_label,
fixed: row.wt_edit_fields_value_fixed,
value: row.wt_edit_fields_value
}
});
return templateFields;
Today I opened Retool and it does not work - returning null, although enableInstanceValues
is true
. The problem is that instanceValues
does not seem to be even documented by Retool.
I really need a simple way how to access data in List View. Is there any better solution than doing magics with change states? I loved the simple reference to instance values..