Copied to clipboard

Flag this post as spam?

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


  • Muhasina 1 post 71 karma points notactivated
    Oct 13, 2023 @ 06:14
    Muhasina
    0

    How to create Custom Dropdown list property editor ?

    I need to custom dropdownlist property editor with default value to set and dynamic dropdownlist can add and remove enter image description here

  • Marc Goodson 2157 posts 14434 karma points MVP 9x c-trib
    Oct 14, 2023 @ 16:17
    Marc Goodson
    1

    Hi Muhasina

    These days I reach for the 'Contentment' package:

    https://marketplace.umbraco.com/package/umbraco.community.contentment

    and the DataList property editor.

    Allows you to combine a custom source, (there are plenty of common sources already provided that can be configured, or you implement your own or you can just type in your values.)

    And then you get to choose the mechanism for editors to display the values or source, eg Checkbox List, Dropdown List etc etc

    https://github.com/leekelleher/umbraco-contentment/blob/develop/docs/editors/data-list.md

    It's really superfast instead of rolling your own.

    regards

    Marc

  • 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