haxeui-core icon indicating copy to clipboard operation
haxeui-core copied to clipboard

TextField.disabled doesn't prevent select/edit of text

Open intoxopox opened this issue 7 years ago • 2 comments

Setting TextField's diabled to true doesn't prevent cursor interaction or editing of text.

Expected Behavior

var txt:TextField = cast addComponent(new TextField()); txt.diabled = true; // Shouldn't be able to set selection or edit text content.

Current Behavior

txt in example above can still be edited. Tested on windows, html5, flash targets via OpenFL backend.

intoxopox avatar Feb 24 '18 00:02 intoxopox

At some point, no doubt a long while back, this was fixed. Closing the issue.

intoxopox avatar Feb 20 '20 07:02 intoxopox

Ok... so TextField was indeed fixed, but TextArea still has the same issue described here.

intoxopox avatar Feb 20 '20 08:02 intoxopox