Yep i tried like this restrict="^\n" and also like this: restrict="^\\n"
And neither worked :( --- In [email protected], "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > Did you try the 'restrict' property? > > - Gordon > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of dmiramontesval > Sent: Friday, March 02, 2007 11:42 AM > To: [email protected] > Subject: [flexcomponents] Disabling \n in a TextArea > > > > I am trying to restrict a TextArea control so users can't enter \n > sequence, that is when they press the Enter key the TextArea shouldn't > enter the \n (new line). > > Any ideas on this? >
