So, which part of the data is supposed to be remapped to an array? Can you give me an example of a key in the data?
In the column definition in constants.js there is for example the field ‘net_arch_pi’ defined by
label: 'Policy Network',
field: row =>
_.get(row, 'training.policy_kwargs.net_arch.args.pi', [64, 64]),
format: val => '[' + val.reduce((a, b) => a + ' - ' + b) + ']',
which is an array of integers like [64,64] or [512,512,512].
So we map this field to a table column basically by
field: row =>.get(row, 'training.policy_kwargs.net_arch.args.pi')
which is just the lodash implementation of
field: row => row.training.policy_kwargs.net_arch.args.pi
So when opening the dialog we actually map
which should be editable on the dialog screen by a QSelect component.
But I wonder if it is only concerned to QSelect components, because I have the same effect on any ‘input field’ on any newSession.XXXX attribute. I also think that the mapping is fine as we can see that in the dialog the data is correctly displayed at first.