hi-
i want to enable bidirectional support on an input field via a constraint, but
i'm unable to. consider this code:
====
<canvas width="100%" height="100%">
<attribute name="flag" type="boolean" value="true"/>
<simplelayout axis="y" spacing="10"/>
<inputtext hasdirectionallayout="true" direction="rtl" bgcolor="green"
textalign="right"/>
<inputtext hasdirectionallayout="${canvas.flag}" direction="rtl"
bgcolor="red" textalign="right"/>
</canvas>
====
this code displays two inputtext views, one green and one red. the green one
has "hasdirectionallayout" set to true,
while the green one has "hasdirectionallayout" set to a constraint, which
equals true. they should both act the same,
but they don't:
green: while typing text, the blinking cursor stays to the left of the text
(expected behavior)
red: while typing type, the blinking cursor stays to the right of the text
(unexpected behavior)
if others believe this is a bug, i can file a jira issue on it. if others have
any temporary work-arounds to this bug, tips
would be appreciated.
thanks,
augusto.