Usecase: Provide custom Value Objects from a DataSource with multiple attributes.
In
|
export const createSelectBoxValueStringFromPossiblyStrangeNodePropertyValue = ( |
we only try to compare an object if it has an
__identity which is internally used by Flow for actual
Entities.
Custom objects are dropped, as they are not valid object keys in the following code. Therefore it is not possible no see the selected entries after a selection has been made.
A solution could be to extend the check to run a deep object comparison which would probably(?) solve most use cases.
Affected maintained versions: Neos 8.3+
Relates also to neos/neos-development-collection#5759
Usecase: Provide custom Value Objects from a DataSource with multiple attributes.
In
neos-ui/packages/neos-ui-editors/src/Editors/SelectBox/createSelectBoxValueStringFromPossiblyStrangeNodePropertyValue.ts
Line 23 in 9386ac6
__identitywhich is internally used by Flow for actualEntities.Custom objects are dropped, as they are not valid object keys in the following code. Therefore it is not possible no see the selected entries after a selection has been made.
A solution could be to extend the check to run a deep object comparison which would probably(?) solve most use cases.
Affected maintained versions: Neos 8.3+
Relates also to neos/neos-development-collection#5759