Copied to clipboard

Flag this post as spam?

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


  • Jeffrey Weinstein 53 posts 226 karma points
    Jun 18, 2021 @ 20:35
    Jeffrey Weinstein
    0

    Drop down with key + value

    I'm looking for Data Type which can hold Title (label, etc) and Value.

    Is there something our there?

    Cheers

  • Benjamin Carleski 33 posts 291 karma points MVP c-trib
    Jun 18, 2021 @ 20:47
    Benjamin Carleski
    0

    I would check out the Data List Editor in Contentment ( https://github.com/leekelleher/umbraco-contentment ). It allows for lots of different data sources, and various display options as well. There is a dropdown display option, and there is a Enum data source that I've used often. When you use the DataListItem attribute on the enum values, you can set the name/value values that will be used with the dropdown.

  • Jeffrey Weinstein 53 posts 226 karma points
    Jun 18, 2021 @ 20:51
    Jeffrey Weinstein
    0

    that looks really good, do you plan to upgrade this to Umbraco 9?

  • Benjamin Carleski 33 posts 291 karma points MVP c-trib
    Jun 18, 2021 @ 20:53
    Benjamin Carleski
    0

    It isn't my package, but Lee is definitely still involved with Umbraco and so there is a good chance. If you wanted to give it a shot to upgrade it and issue a pull request, I'm sure he'd appreciate the help.

Please Sign in or register to post replies

Write your reply to:

Draft