Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Nick 38 posts 131 karma points
    Feb 27, 2019 @ 11:41

    Get Text value for DropDown field in custom ListView Layout


    I am using Umbraco 7 and following the tutorial at for creating a custom ListView Layout.

    I have a custom DropDown field populated with prevalues and want to display it in the list view, however the listview shows the id stored, not the text prevalue:

    enter image description here

    How can I get the text prevalue in the angular controller. e.g. in Razor you could use something like @umbraco.library.GetPreValueAsString(Model.YourProperty)



Please Sign in or register to post replies

Write your reply to: