Closed radiatoryang closed 3 years ago
problem: TextField not editable... because there's not actually any underlying h2d.TextInput there?
fix: modify TextInputImpl.hx to create a h2d.TextInput and hook up some focus / blur / onChange events, based on the tip from hoseyjoe in #20
h2d.TextInput
fixes #25 and #20
I based some of my code patterns on https://github.com/haxeui/haxeui-openfl/blob/master/haxe/ui/backend/TextInputImpl.hx
known issues:
Great... thanks! This is a nice start.
I wonder if its possible to "misused" heaps's TextInput to simulate a text area... I dont think text input word wraps though...
Anyways, thanks again! Ian
problem: TextField not editable... because there's not actually any underlying h2d.TextInput there?
fix: modify TextInputImpl.hx to create a
h2d.TextInput
and hook up some focus / blur / onChange events, based on the tip from hoseyjoe in #20fixes #25 and #20
I based some of my code patterns on https://github.com/haxeui/haxeui-openfl/blob/master/haxe/ui/backend/TextInputImpl.hx
known issues:
h2d.TextInput
(added a warning message)h2d.TextInput
either, apparently (see https://github.com/HeapsIO/heaps/blob/master/h2d/TextInput.hx )