sed 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,
>> > >
>> >
t; > >
> > > Best,
> > >
> > > Carlos
> > >
> > >
> > >
> > >
> > >
> > >
> > > 2014/1/9 Kessler CTR Mark J
> > >
> > >> Here is a quick example usage...
> > >>
quick example usage...
> >>
> >>
> >> var pattern:RegExp = RegExPatterns.createRegExp("what I'm matching",
> >> RegExPatterns.CONTAINS);
> >>
> >> myTextInput.text.match(pattern);
> >> or
> >> myTextInput.text.r
-Mark
>>
>> -----Original Message-
>> From: carlos.rov...@gmail.com [mailto:carlos.rov...@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 Comp
Mark
>
> -Original Message-
> From: carlos.rov...@gmail.com [mailto:carlos.rov...@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 poin
ssage-
From: carlos.rov...@gmail.com [mailto:carlos.rov...@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
erns.html
>
>
> -Mark
>
> -Original Message-
> From: Maxime Cowez [mailto:maxime.co...@gmail.com]
> Sent: Wednesday, January 08, 2014 8:50 AM
> To: dev@flex.apache.org
> Subject: Re: New Flex MaskedTextInput Spark Component
>
> @Mark
> > Is the regex requirement
r CTR Mark J <
> mark.kessler@usmc.mil> wrote:
>
> > >* Regex patterns like proposed by Justin and Maxime (this will allow us
> to
> > restrict a insertion to a Max/Min value).
> >
> > Is the regex requirement just for numbers or all input?
> >
> > -
: Maxime Cowez [mailto:maxime.co...@gmail.com]
Sent: Wednesday, January 08, 2014 8:50 AM
To: dev@flex.apache.org
Subject: Re: New Flex MaskedTextInput Spark Component
@Mark
> Is the regex requirement just for numbers or all input?
If you're working with a regex, you can configure any
just for numbers or all input?
>
> -Mark
>
> -Original Message-
> From: carlos.rov...@gmail.com [mailto:carlos.rov...@gmail.com] On Behalf
> Of Carlos Rovira
> Sent: Tuesday, January 07, 2014 7:38 PM
> To: dev@flex.apache.org
> Subject: Re: New Flex MaskedTextInput S
l.com [mailto:carlos.rov...@gmail.com] On Behalf
> Of Carlos Rovira
> Sent: Tuesday, January 07, 2014 7:38 PM
> To: dev@flex.apache.org
> Subject: Re: New Flex MaskedTextInput Spark Component
>
> Hi,
>
> I rewrite the MaskedTextInput component to support various important
&g
los Rovira
Sent: Tuesday, January 07, 2014 7:38 PM
To: dev@flex.apache.org
Subject: Re: New Flex MaskedTextInput Spark Component
Hi,
I rewrite the MaskedTextInput component to support various important
concepts:
* get/set data vía "text" property (remove "rawText" prope
Hi,
I rewrite the MaskedTextInput component to support various important
concepts:
* get/set data vía "text" property (remove "rawText" property). "get" text
remove separators and "set" text format the string to display in the
component. I think this the most important improvement.
* Support for
Hi Maxime,
love your example, works pretty well :). I think your approach is very near
the final solution. As my version both requires to implement two or three
more features to be valid to 99% of Flex SDK users.
In you sample I only could see a little layout problem with IBAN that make
the text
I managed to compile a little demo application of my Gist.
http://riastar.github.io/MaskedTextInputFx/
What I noticed:
- yours handles copy/paste operations, mine doesn't
- mine handles the phone and IBAN samples a little better (because of the
multiple separators/delimiters)
- yours handles the p
Hi Maxime and all,
I share the component in gist to give it access until I have the time to
commit to Flex SDK. You can see it here:
AS3 Class: https://gist.github.com/carlosrovira/7895322
Skin: https://gist.github.com/carlosrovira/7895395
CSS: https://gist.github.com/carlosro
@Carlos
It only *looks *clean and organized on the surface ;)
But it doesn't really respect the component lifecycle very well. Just look
at the last line (the override of dispatchEvent) and the override of
setText.
I'll try to cook you an example as soon as I can.
On Tue, Dec 10, 2013 at 6:11 PM,
@Maurice. The behavior you describe is the expected behaviour. Before I
code the component, I search the web for available solutions, and I see the
same behaviour adopted in various implementations, so I take that as a
pattern... The way you expect it to behave is already valid too and widely
used.
@Carlos
I put my take at a MaskedTextInput in a Gist:
https://gist.github.com/RIAstar/7893328
I repeat: there's some rather dirty code in there, however there's also
some logic to handle multiple separators with a regex. Perhaps you can find
some inspiration there.
Apparently I also felt the need
again, really nice components,
PS: I like the "controls rain" app :-)
Maurice
-Message d'origine-
De : Dany Dhondt [mailto:archeme...@mac.com]
Envoyé : mardi 10 décembre 2013 17:15
À : dev@flex.apache.org
Objet : Re: New Flex MaskedTextInput Spark Component
Great wo
Great work Carlos! Nice component!
Dany Dhondt
archeme...@mac.com
Op 9-dec.-2013, om 19:28 heeft Carlos Rovira het
volgende geschreven:
> Hi,
>
> These days I worked a new spark MaskedTextInput component and I want to
> share a demo of this component so you can play with it.
> I think there
@Justin, I'll go the 1 route since although the component is functionally
complete (minus the things we commented here), I don't have the test. I
think it's better start in experimental and as it evolves move it to a
better place
@Cosma, so this component will not work on mobile since it uses
Flow
Nice component, thanks.
About the mobile, I had a component with immediate validation (e.g. numeric
input), that on mobile does not work because the TextOperationEvent
dispatched does not contain the most important information (the
operation:FlowOperation attribute). Probably non-TLF implementatio
Hi,
> @Justin, I'll check your comments to see how we can take into account all
> this things, but I'm afraid that this initial component is not as
> smart..maybe with the time and your help we can build such versatile
> maskedtextinput component.
Sure can help out there and tat certainly doesn't
Hi,
@Erik, @Maurice, thanks for your kindly words :), this encourages me to
commit the component :)
@Lee, I must confess that my development is focused on browser so I didn't
take StageText into account, but as this is a spark TextInput extension, I
think it should work, since it mainly uses two
Hi,
> - there was a list of possible separators
The mx:DateFormatter validator does this (see parseDateString), you might want
to take a look at how it does it. Also you might want to consider how to mask
for currency ($ + , + .) and non english dates with multiple separators (eg
Japanese dat
Hey Carlos,
That's great. I'd written a very similar component a few years ago, which
worked pretty much the same as yours except the code was never
publication-worthy ;)
>From what I've seen, there are 2 minor differences:
- there was a list of possible separators (which could also be
configure
Very nice!
One thing:
The IBAN and Phone masks do not work the way I'd expect. It should jump
straight to the numbers.
On Dec 9, 2013, at 8:28 PM, Carlos Rovira wrote:
> Hi,
>
> These days I worked a new spark MaskedTextInput component and I want to
> share a demo of this component so you ca
Awesome stuff Carlos. Does it work with Mobile too? (ie: with StageText)
On 09/12/2013 18:28, Carlos Rovira wrote:
Hi,
These days I worked a new spark MaskedTextInput component and I want to
share a demo of this component so you can play with it.
I think there's no such component already in the
This is supremely useful, thank you!
EdB
On Mon, Dec 9, 2013 at 7:28 PM, Carlos Rovira wrote:
> Hi,
>
> These days I worked a new spark MaskedTextInput component and I want to
> share a demo of this component so you can play with it.
> I think there's no such component already in the Flex SDK
Hi,
These days I worked a new spark MaskedTextInput component and I want to
share a demo of this component so you can play with it.
I think there's no such component already in the Flex SDK or out there, and
as I needed for a project I had to make one from scratch.
The component is an extension of
31 matches
Mail list logo