In our Jewel based application we are actually doing two-way binding in a
way mentioned by Edward:

<fx:Binding source="emailTextInput.text"
destination="passwordResetModel.email" />
    <fx:Binding source="passwordResetModel.email"
destination="emailTextInput.text" />

It should work.

niedz., 31 paź 2021 o 23:26 Hugo Ferreira <hferreira...@gmail.com>
napisał(a):

> Yes, it's option 3.
> Two-way binding it's not a deal breaker.
> I can live without it.
>
> Edward Stangler <estang...@bradmark.com> escreveu no dia domingo,
> 31/10/2021 à(s) 11:51:
>
> >
> > In Flex, two-way binding can be done in several ways:
> >
> > 1.  <fx:Binding source="comp.A" destination="comp.B" twoWay="true" />
> >
> > 2.  <fx:Binding source="comp.B" destination="comp.A" />
> > <fx:Binding source="comp.A" destination="comp.B" />
> >
> > 3.  value="@{comp.A}"
> >
> > As you said, Royale does not support #3 (in fact, it breaks one-way
> > binding;  see Issue #1162).
> >
> > And, there are various bugs (see Issues #1159, #1160, #1161, and
> > probably more).
> >
> > But two-way binding does work.
> >
> >
> >
> > On 10/30/2021 11:11 AM, Hugo Ferreira wrote:
> > > It doesn't work for me either.
> > > In a search, I don't think that is implemented yet.
> > >
> > > Maria Jose Esteve escreveu no dia sábado, 30/10/2021
> > > à(s) 17:03:
> > >
> > >> I don't think so Hugo.
> > >> Binding with "@" hasn't worked for me so far. Perhaps someone more
> > >> experienced can give us more information.
> > >>
> > >> Hiedra
> > >>
> > >> -----Mensaje original-----
> > >> De: Hugo Ferreira
> > >> Enviado el: sábado, 30 de octubre de 2021 17:49
> > >> Para: Apache Royale Development <dev@royale.apache.org>
> > >> Asunto: Two-way databinding
> > >>
> > >> Hi,
> > >>
> > >> Just to confirm, two-way databinding is not supported at the moment,
> > >> correct, or did I miss something on my search ?
> > >>
> > >> Regards,
> > >> Hugo.
> > >>
> >
> >
>


-- 

Piotr Zarzycki

Reply via email to