Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
fix: Trigger change event on textbox when color picked (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaza authored and itsjavi committed Feb 2, 2017
1 parent 5c20d26 commit a05ff4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/colorpicker-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ Colorpicker.prototype = {
val = val || this.color.toString(this.format, false);
if (this.input !== false) {
this.input.prop('value', val);
this.input.trigger('change');
}
return val;
},
Expand Down

0 comments on commit a05ff4e

Please sign in to comment.