Ah yeah just found code for it in custom-view-editor.component.html.
Would need to instead pass in fields from contents-page.component.html and change it to get the name and label from the object and use them where appropriate?
<sqx-custom-view-editor
[allFields]="tableSettings.schemaFields"
(listFieldsChange)="tableSettings.updateFields($event)"
[listFields]="$any(tableSettings.listFieldNames | async)"
(reset)="tableSettings.reset()">
</sqx-custom-view-editor>
Was considering opening a PR but I am not confident with the client side bits so it may take some time!
Also just remembered something that scuppered another feature request I had a while ago; two fields can have the same label!
So it would need to potentially detect that there is duplication going on and have the field name in brackets afterwards, for example the above could be listed as:
- Column Label (ColumnName)
- Column Label (AnotherColumnName)