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.
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. :-)
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
Awesome! Thanks a lot Dave, just going to go through your article.
is working on a reply...