flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlos.rov...@codeoscopic.com>
Subject Re: New Flex MaskedTextInput Spark Component
Date Sun, 16 Mar 2014 23:15:45 GMT
I made a ticket to track MTI changes:

https://issues.apache.org/jira/browse/FLEX-34149


2014-03-16 23:55 GMT+01:00 Carlos Rovira <carlos.rovira@codeoscopic.com>:

> Hi Maxime,
>
> thanks for pointing to the new component. As you said MTI doesn't support
> LTR direction right now. At this point I think there's other features that
> will IMO more needed (i.e: Mobile support). As I have no experience with
> LTR text I don't know how needed is that feature, so at this moment I don't
> have plans to implement it, but I can add it to the list as possible
> feature to implement and give it priority based on demand, if people does
> not produce a patch for it. As I say I'm more interested, when I invest
> time, in give priority to mobile support or mustella test to promote the
> component from experimental to main spark library.
>
> btw, I was making the changes proposed here, and at the same time watching
> the needs for mobile. Since is not straight forward changes, I'm at this
> time evaluating to convert the component to mobile and take into account
> the "keep slot" philosophy to avoid working in the later and then have to
> rewrite to support mobile...
>
>
>
>
>
> 2014-03-14 10:09 GMT+01:00 Maxime Cowez <maxime.cowez@gmail.com>:
>
> Hi Carlos,
>>
>> I got this issue on my draft version of MaskedTextInput:
>> https://github.com/RIAstar/MaskedTextInputFx/issues/2
>> I redirected the poster to the Apache Flex experimental component, but I
>> think his issue might apply to your component as well.
>> Did you think of RTL text support?
>>
>> Cheers,
>> Max
>>
>>
>> On Wed, Jan 22, 2014 at 12:54 AM, Carlos Rovira <
>> carlos.rovira@codeoscopic.com> wrote:
>>
>> > Just created the ticket:
>> >
>> > https://issues.apache.org/jira/browse/FLEX-34053
>> >
>> > And make the first commit of this component to Apache Flex.
>> >
>> > As well fixed the copy/paste issue mentioned some days ago.
>> >
>> > Hope people can test and share now that the component is already in the
>> > sdk. I'll make some revisions and fixes in the following days.
>> >
>> > Best,
>> >
>> > Carlos
>> >
>> >
>> >
>> >
>> >
>> > 2014/1/21 Carlos Rovira <carlos.rovira@codeoscopic.com>
>> >
>> > > Hi,
>> > >
>> > > a new revision of the MaskedTextinputComponent is  here:
>> > >
>> > > https://gist.github.com/carlosrovira/7895322
>> > >
>> > > and the demo update here (as usual):
>> > >
>> > > http://www.carlosrovira.com/blog/spark-maskedtextinput-demo/
>> > >
>> > > No all bugs has gone yet, but there's important fixes:
>> > >
>> > > * Rebuild internal separatorLocations when maskedText change at
>> runtime
>> > > * override text routed to TextOperationEvent.CHANGE to throw
>> textChange
>> > > and change events. (The component is tested in validation scenarios
>> and
>> > > with other flex events like change and now is working as expected) -
>> This
>> > > is very important to be integrated as expected in your application
>> using
>> > > events, binding,etc like you do with a normal s:TextInput.
>> > > * fixed verification chars allowed (better handling)
>> > > * fixed some bugs on insertion when cursor is not at the end
>> > > * fixed some bugs on deletion (more than one consecutive separator)
>> > >
>> > > There's some bugs to fix yet (some of them exposed by Maxime) and
>> hope to
>> > > see look to fix it soon, but though that this revision was important
>> for
>> > > people using it right now so I take the time to update this thread.
>> > >
>> > > Best,
>> > >
>> > > Carlos
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > 2014/1/9 Kessler CTR Mark J <mark.kessler.ctr@usmc.mil>
>> > >
>> > >> Here is a quick example usage...
>> > >>
>> > >>
>> > >> var pattern:RegExp = RegExPatterns.createRegExp("what I'm matching",
>> > >> RegExPatterns.CONTAINS);
>> > >>
>> > >> myTextInput.text.match(pattern);
>> > >> or
>> > >> myTextInput.text.replace(pattern, replacementObject);
>> > >> or
>> > >> myTextInput.text.search(pattern);
>> > >>
>> > >>
>> > >> -Mark
>> > >>
>> > >> -----Original Message-----
>> > >> From: carlos.rovira@gmail.com [mailto:carlos.rovira@gmail.com] On
>> > Behalf
>> > >> Of Carlos Rovira
>> > >> Sent: Thursday, January 09, 2014 7:17 AM
>> > >> To: dev@flex.apache.org
>> > >> Subject: Re: New Flex MaskedTextInput Spark Component
>> > >>
>> > >> Hi Mark, thanks for pointing me to this class, I was not aware of it,
>> > and
>> > >> I
>> > >> will add to my arsenal :).
>> > >>
>> > >> Regarding this concrete case, If we end inserting regex
>> functionality in
>> > >> the MaskedTextInput (very likely) we could think if we need some
>> > behaviour
>> > >> to complement this class.
>> > >>
>> > >>
>> > >
>> > >
>> > > --
>> > > Carlos Rovira
>> > > Director de Tecnología
>> > > M: +34 607 22 60 05
>> > > F:  +34 912 94 80 80
>> > > http://www.codeoscopic.com
>> > > http://www.directwriter.es
>> > > http://www.avant2.es
>> > >
>> >
>> >
>> >
>> > --
>> > Carlos Rovira
>> > Director de Tecnología
>> > M: +34 607 22 60 05
>> > F:  +34 912 94 80 80
>> > http://www.codeoscopic.com
>> > http://www.directwriter.es
>> > http://www.avant2.es
>> >
>>
>
>
>
> --
> Carlos Rovira
> Director de Tecnología
> M: +34 607 22 60 05
> F:  +34 912 94 80 80
> http://www.codeoscopic.com
> http://www.directwriter.es
> http://www.avant2.es
>



-- 
Carlos Rovira
Director de Tecnología
M: +34 607 22 60 05
F:  +34 912 94 80 80
http://www.codeoscopic.com
http://www.directwriter.es
http://www.avant2.es

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message