Merge branch 'develop' of https://github.com/apache/royale-asjs into develop
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextField.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextField.as
index f8eaf59..9d3c1ab 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextField.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UITextField.as
@@ -765,6 +765,8 @@
              }

              COMPILE::JS

              {

+                 //bindings can sometimes set this to undefined at runtime, which should be coerced to null

+                 if (typeof value == 'undefined') value = null;

                  _text = value;

                  this.element.innerText = value;

                  this.dispatchEvent('textChange');