Thanks for all sugestions. I studied DateField, MaskedDateField, StringDateFormatter, etc ... and end up building my own MaskedTextInput bead simplier that have a single parameter "mask" and is be able to give the mask feature to the TextInput. For now is very basic, because the internal method format is only be able to handle numbers and special characters (non numbers) that for now is enought for local zip codes.
Harbs <harbs.li...@gmail.com> escreveu no dia quarta, 30/03/2022 à(s) 09:12: > You can likely just copy the code from the ZipCodeFormatter in the MX > package. > > > On Mar 30, 2022, at 11:11 AM, Harbs <harbs.li...@gmail.com> wrote: > > > > Check out the Formatter package. There’s no zip-code formatter, but you > can model after the other formatters and use FormatableTextInputView. > > > > HTH, > > Harbs > > > >> On Mar 30, 2022, at 9:56 AM, Yishay Weiss <yishayj...@hotmail.com> > wrote: > >> > >> Not aware of one. If you’re using Jewel, there are all sorts of similar > beads you can model after under > >> > >> > royale-asjs\frameworks\projects\Jewel\src\main\royale\org\apache\royale\jewel\beads\controls\textinput > >> > >> From: Hugo Ferreira<mailto:hferreira...@gmail.com> > >> Sent: Wednesday, March 30, 2022 3:08 AM > >> To: Apache Royale Development<mailto:dev@royale.apache.org> > >> Subject: Masked TextInput or Bead > >> > >> Hi, > >> > >> There is already a masked input for zip code ready to use (####-###) ? > >> For example a bead ? > >> > >> Regards, > >> Hugo. > >> > > > >