T-San001 commented on issue #682: <mx:TextArea> tag may not function? URL: https://github.com/apache/royale-asjs/issues/682#issuecomment-575002208 Alex, editable is already defined in TextArea.as, which is different a bit than the one for TextInput.as. Since the same mxml source (except for the namespaces) works in FlashBuider, editable in TextArea.as may have a problem? ================================================== mx.controls.TextArea public function set editable(value:Boolean):void { if (value == _editable) return; _editable = value; editableChanged = true; COMPILE::JS { element["readOnly"] = !value; } //invalidateProperties(); dispatchEvent(new Event("editableChanged")); } ======================================= mx.controls.TextInput public function set editable(value:Boolean):void { _editable = value; COMPILE::JS { if(value == false) { (element as HTMLInputElement).readOnly = true; } else { (element as HTMLInputElement).readOnly = value; } } /* if (value == _editable) return; _editable = value; editableChanged = true; invalidateProperties(); dispatchEvent(new Event("editableChanged")); */ }
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services