Copied to clipboard

Flag this post as spam?

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


  • Sander van de Pas 74 posts 147 karma points
    Aug 21, 2015 @ 13:33
    Sander van de Pas
    0

    nuPickers Enum Dropdown Picker set default value

    I've created a nuPickers Enum dropdown list with 3 options. In Umbraco the dropdown shows these items, but default the blank extra option is chosen.

    The dropdown is not required.

    Our customer wants the default blank option has a label, but not a value.

    The only thing I want is the first option in the attachment get's a label and has no value.

    Is that possible?

    enter image description here

  • Sander van de Pas 74 posts 147 karma points
    Dec 22, 2015 @ 15:42
    Sander van de Pas
    0

    Is this already working in 1.5.2 or could someone comment on this issue how we can fix this?

    I need it too ;-)

  • Nicholas Westby 2054 posts 7104 karma points c-trib
    Dec 22, 2015 @ 17:16
    Nicholas Westby
    0

    I haven't used nuPickers, but this page indicates that the enum dropdown picker doesn't support custom labels: https://github.com/uComponents/nuPickers/wiki

    Custom labels are the things that allow you to render whatever you want when selecting items: https://github.com/uComponents/nuPickers/wiki/Custom-Labels

    Custom Labels

    Can you use the enum radio button picker instead? It does support custom labels. The idea being that you could create a custom label for the "null" option. I have no idea if that will work, but might be worth a try.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies