Skip to content

Multi-selection for Item Picker with custom datasource #490

@ihorleleka

Description

@ihorleleka

Which Contentment version are you using?

6.0.0-alpha010

Which Umbraco version are you using? For example: 13.2.1 - don't just write v13

16.2.0

Bug summary

When using custom data source providers + Item Picker as list editor + in config allowing multi-selection:
"Preview" of data type works fine, e.g. you can select several elements and hit Select:

Image

However, when you then trying to do very same thing on real content select button appears to be always disabled (can't select anything). Single selection mode works fine thou:

Image

Steps to reproduce

Using custom IDataPickerSource, IDataSourceValueConverter introduce new
[Contentment] Data List Property Editor UI based data type with data source pointing to your custom data source defined in .net application and List editor = Item Picker with Multiple selection? checkbox set to true.

Assign this editor to any field in real content

Try selecting entries and saving them in real content from that new field.

Expected result / actual result

No response

Do you have Umbraco ModelsBuilder enabled?

  • Yes, it is enabled.

What browsers are you seeing the problem on?

Chrome, Edge, Firefox, Safari

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions