angular-minicolors icon indicating copy to clipboard operation
angular-minicolors copied to clipboard

Broken compatibility with rgba(255,255,255,1.0) format in ng-model

Open mazavr opened this issue 4 years ago • 0 comments

Version 0.0.10 accepts (ng-model attribute) and works fine with values like: rgba(255,255,255,1.0) Version 0.0.11 does not accept it correctly and renders empty fields.

<input minicolors="vm.customSettings" ng-model="vm.color">

and settings

vm.color = "rgba(255,255,255,1.0)";
vm.customSettings = {
	control: 'brightness',
	theme: 'bootstrap',
	position: 'top left',
	format: 'rgb',
	opacity: true
};

mazavr avatar Apr 23 '20 07:04 mazavr