Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mazavr opened this issue Apr 23, 2020 · 0 comments
Open

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

mazavr opened this issue Apr 23, 2020 · 0 comments

Comments

@mazavr
Copy link

mazavr commented Apr 23, 2020

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
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant