Copied to clipboard

Flag this post as spam?

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


  • Muhammad Humayun 49 posts 79 karma points
    Sep 06, 2016 @ 09:51
    Muhammad Humayun
    0

    How to use the built-in ColorPicker in a composite custom property?

    Hi,

    I'm trying to make a composite custom property where the editor can have multiple options to choose for the background of the page. If they select "Image", I show File Upload/Text Box for the Image URL. And if they select "Colour", I want to show them the colour picker.

    I can use a Jquery plugin for this but I would like to use the existing colour picker for consistency as well as to avoid any additional scripts when we already have built in.

    Many Thanks for your advises in advance. :-)

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Sep 06, 2016 @ 09:55
    Dave Woestenborghs
    0

    Hi Muhammad,

    I explain this in the last section of this article : http://24days.in/umbraco/2014/umbraco-angular-tips/

    Give it a read and there are some links to example code.

    Dave

  • Muhammad Humayun 49 posts 79 karma points
    Sep 06, 2016 @ 09:57
    Muhammad Humayun
    0

    Awesome! Thanks a lot Dave, just going to go through your article.

Please Sign in or register to post replies

Write your reply to:

Draft