md-color-picker
md-color-picker copied to clipboard
most of the "Option Object name" not working
most of the Option Object name are not working , spacially the hiding tabs options , default color ... and many others
Can you provide any example code or a demo of the issue?
+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
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 }
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 }
Thank you for the workaround @Mamokapps, the whole plugin is being restructured so this should only be temporary.
+1 on this one, workaround isn't working for me either. Looking forward to the restructure :)
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
+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 };
+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.