md-color-picker icon indicating copy to clipboard operation
md-color-picker copied to clipboard

most of the "Option Object name" not working

Open eassa opened this issue 8 years ago • 9 comments

most of the Option Object name are not working , spacially the hiding tabs options , default color ... and many others

eassa avatar Jul 14 '16 07:07 eassa

Can you provide any example code or a demo of the issue?

brianpkelley avatar Jul 14 '16 16:07 brianpkelley

+1 same issue

vm.colorOptions = { label: 'Choose a color', random: true, hex: false, hsl: false, defaultTab: 'genericPalette', default: '#f00', type: 1, spectrum: false, sliders: false, history: false }; <div md-color-picker="vm.colorOptions" ng-model="vm.project.color"></div>

vm.project.color contains = rgba(135, 24, 195, 0.82) only label works from this option set

Deshevykh avatar Jul 23 '16 08:07 Deshevykh

Same issue...

<div md-color-picker="options" ng-model="color"></div>

$scope.options = { default: "#f00", history: false, clearButton: false, preview: false, alphaChannel: false, spectrum: false, sliders: false, genericPalette: false, materialPalette: false, rgb: false, hsl: false }

bourdeaudhui avatar Aug 01 '16 10:08 bourdeaudhui

Works if options are preceded by "mdColor":

$scope.options = { mdColorDefault: "#f00", mdColorHistory: false, mdColorClearButton: false, mdColorPreview: false, mdColorAlphaChannel: false, mdColorSpectrum: false, mdColorSliders: false, mdColorMaterialPalette: false, mdColorRgb: false, mdColorHsl: false }

bourdeaudhui avatar Aug 01 '16 10:08 bourdeaudhui

Thank you for the workaround @Mamokapps, the whole plugin is being restructured so this should only be temporary.

brianpkelley avatar Aug 01 '16 18:08 brianpkelley

+1 on this one, workaround isn't working for me either. Looking forward to the restructure :)

jsiegmund avatar Sep 16 '16 13:09 jsiegmund

Attributes are not working. Using example from the docs:

Default color is not set. md-color-generic-palette is not turned of... etc etc etc

inakrin avatar Dec 01 '16 04:12 inakrin

+1

Attributes and options aren't working. Same problem here.

<div md-color-picker="vm.options" ng-model="vm.color.background"></div>

vm.color= { background: '#00A6DC' }; vm.options = { default: "#00A6DC", clearButton: false, rgb: false, hsl: false };

erhankilic avatar Jan 24 '17 07:01 erhankilic

+1 does anyone have a work around for this? Shame to see it still open, this is the best looking picker out there that I've found.

beazergood avatar May 16 '17 17:05 beazergood