Added todo

This commit is contained in:
alschmiedt
2018-12-13 14:39:27 -08:00
parent aae15f01f4
commit 4bd21c5128

View File

@@ -281,6 +281,10 @@ Blockly.FieldTextInput.prototype.onHtmlInputChange_ = function(_e) {
var text = htmlInput.value;
if (text !== htmlInput.oldValue_) {
htmlInput.oldValue_ = text;
// TODO(#2169): Once issue is fixed the setGroup functionality could be
// moved up to the Field setValue method. This would create a
// broader fix for all field types.
Blockly.Events.setGroup(true);
this.setValue(text);
Blockly.Events.setGroup(false);