Skip to content

Commit 22220c8

Browse files
committed
Fixing work item #214817
No events fired when custom value is entered
1 parent 2edb703 commit 22220c8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/igniteui-angular.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
function parseValue() {
4747
//"parse" through the control value, ensure no-flicker with formatted values
4848
//model controller will attempt to set the edit text (not actual value) to the model. Only allow the actual control value to update.
49+
50+
// No events fired when custom value is entered, this change won't affect the old combo
51+
var combo = element.data(controlName);
52+
if (combo.options.allowCustomValue && combo.refreshValue != undefined) {
53+
combo.refreshValue();
54+
}
4955
return comboValue(element.data(controlName));
5056
}
5157
element.on($.ig.angular.igCombo.events.join(" "), function (event, args) {
@@ -617,4 +623,4 @@
617623
module.directive(control, igniteElementDirectiveConstructor);
618624
}
619625
}
620-
}(angular, jQuery));
626+
}(angular, jQuery));

0 commit comments

Comments
 (0)