Closed ashconnell closed 8 years ago
Hi @ashconnell ,
Thanks for the PR, just a couple of things before I merge it in. Can you add these additional options to the options-service.js
file, and make them default to undefined
. I believe angularjs wlll not add the attribute if the value is undefined.
@ruhley done 39b789f :)
I have released v2.4.5 with this update. Thanks for the PR :+1: . I don't know how this library has been around for so long without id
or name
....
@ruhley i'm not sure but thanks for creating this lib! It's clearly the best angular color picker around!
A simple change to add id and name options to set attributes on the internal input.
The id attribute is useful if you use a label:
The name attribute is useful for form validation and ng-messages: