Skip to content

Transfer: Support custom style for selected (right side) items #105

@martinkrulltott

Description

@martinkrulltott

https://jira.dhis2.org/browse/TECH-393

As per the design for the new dimension selection modals (design spec partly attached below) the selected items (on the right side) should use a separate style compared to the available items (on the left side).

This is currently not supported, as all custom items are passed as children to Transfer, which in turn internally handles the population of the right side items (using the same custom items that were used for the left side). In addition, the selected prop only receives label / value, not the custom element itself. This leaves no intuitive way to add custom styling to the right side items.


Part of the design spec
image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions