Skip to content

BUG: The select box cannot handle value objects #4142

Description

@Sebobo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions