Skip to content

Two-way binging is half-broken since version 3.4.2 #184

@fifonik

Description

@fifonik

Thanks for the nice color picker.

After upgrading to version 3.4.8 two-way binding is not working as expected. I played a bit and found that some changes in version 3.4.2 caused this.

How to re-produce:

  1. Create a simple inline color picker using version 3.4.1
  2. Try to choose color with mouse -- you'll see that color values in input and in two-way binging var are changing
  3. Double click the color code in input to select it and key in 000. You'll see that the color in color picker changed and two-way binding in updated
  4. Repeat the same steps with version 3.4.2+. Step 3 will fail: when you keying in the color 000 in the input field, two-way binding will not be updated any longer.

Demos:
3.4.1:
http://plnkr.co/edit/Oq6OYgtUtYOW7omfuvIv

3.4.8:
http://plnkr.co/edit/x1YLyRGxQfivXddDoONc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions