From 915f097480331e0bc22c4ee91f1fb77f53e1c8dd Mon Sep 17 00:00:00 2001 From: Rachel Fenichel Date: Wed, 18 Jan 2017 17:08:40 -0800 Subject: [PATCH] Use setValue in fieldTextInput so that procedure renaming works --- core/field_textinput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/field_textinput.js b/core/field_textinput.js index 5c6e66215..ed7d5af85 100644 --- a/core/field_textinput.js +++ b/core/field_textinput.js @@ -216,7 +216,7 @@ Blockly.FieldTextInput.prototype.onHtmlInputChange_ = function(e) { var text = htmlInput.value; if (text !== htmlInput.oldValue_) { htmlInput.oldValue_ = text; - this.setText(text); + this.setValue(text); this.validate_(); } else if (goog.userAgent.WEBKIT) { // Cursor key. Render the source block to show the caret moving.