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

How to update ngModel on colour click and not on select button? #89

Open
ihanif opened this issue Oct 3, 2016 · 2 comments
Open

How to update ngModel on colour click and not on select button? #89

ihanif opened this issue Oct 3, 2016 · 2 comments

Comments

@ihanif
Copy link

ihanif commented Oct 3, 2016

Thanks for an excellent job on the colour picker @brianpkelley. I am trying to get the value of a selected colour on the mouseDown event (clicking on any of the colours) and not the 'Select' button. The requirement is that we should preview the chosen colour on our custom component before clicking the 'Select' button and closing the dialogue. Any suggestions to achieve this without changing the source code?

@martskins
Copy link

@ihanif Did you find a workaround for this?

@brianpkelley
Copy link
Owner

This has been fixed in 6ff793c
Sorry, I'm not sure how to get the same functionality without modifying the source.

You can demo it here: http://labs.tastybytes.net/mdColorPicker/demo/

@brianpkelley brianpkelley modified the milestones: v1.0.0, Next Release Aug 25, 2017
@brianpkelley brianpkelley added this to the v1.0.0 milestone Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants