Change CSV export value from list detachable

Hello,

I want that when exporting in CSV a dynamic dropdown list field, it picks up the value of the label and not of the element.

Example:

I have a detachable list dynamic with this data:

1 [ Test 1]

2 [ Test 2]

The number 1 and 2 are the name of the element and Test 1 and 2 are the value of the tag.

When I export to CSV, I get the item value and not the tag value. In my case I need it to pick up the value of the tag.

I am checking the export_utils.php but I can’t find anything to help me look it up.

If you know in which file to tweak I would appreciate it.