U4-6405 - Dropdown list in List View - a switch is needed

Created by Jan Bengtsson 16 Mar 2015, 10:27:35 Updated by Claus Hingebjerg 05 Jul 2017, 06:46:26

When using the Dropdown list data type in Umbraco 7, the values - and not the internal id's - is displayed in the Content node. As it should. But when adding the same dropdown list to a List View as one of its Columns it's the other way around - id is displayed but not value. Which makes it pretty pointless for an editor.

Comments

David Zweben 01 Jul 2016, 20:24:16

This is a problem for me as well. I am trying to display a list view that shows the category that was selected for each child node, from a dropdown, but the list view just shows ID numbers, which isn't helpful at all.


Tom Pipe 09 Nov 2016, 01:24:51

I experienced this issue too, just wrote a 'hacky' fix for anyone interested.

https://gist.github.com/tompipe/beaf44f29d416249dfdeaa9d1b24956a


Andy Butland 10 Dec 2016, 21:08:12

Have included a resolution of this in an existing, related, open PR here: https://github.com/umbraco/Umbraco-CMS/pull/1495


Bjarne Fyrstenborg 11 Dec 2016, 13:43:01

It would also be great if you could render a different output in listview umb-table instead of raw text, e.g. for a boolean value (checkbox) it would make sense to present an icon (e.g. icon-check / icon-delete) instead of true/false - mainly in custom columns.

For the package Bulk User Admin: https://our.umbraco.org/projects/backoffice-extensions/bulk-user-admin/ it is now changing to the new/updated listview component/directive, where it would be great to display icons to editors instead of true/false. https://github.com/leekelleher/umbraco-bulk-user-admin/pull/17


Claus Hingebjerg 05 Jul 2017, 06:46:26

I agree with Bjarne - i have a current project where a node has an option of "Verified" as a true/false parameter. This renders as 1/0 on the list view, which isn't very editor friendly.


Priority: Normal

Type: Bug

State: Submitted

Assignee:

Difficulty: Normal

Category: Editor

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.2.5, 7.4.0, 7.3.4, 7.5.4, 7.5.10, 7.5.11, 7.5.12

Due in version:

Sprint:

Story Points:

Cycle: