Re: textarea, max_length and \r\n

2010-06-25 Thread eka (Esteban)
By now I made my own TextAreaField that will replace('\r\n', '\n') in the to_python method On Jun 25, 11:34 pm, "eka (Esteban)" wrote: > Hi all > > I created a form with a textarea that has a max_length of 1024, this > textarea is rendered in frontend with a

textarea, max_length and \r\n

2010-06-25 Thread eka (Esteban)
Hi all I created a form with a textarea that has a max_length of 1024, this textarea is rendered in frontend with a Javascript character counter, what is odd is that the counter was giving the right length, in this case 1024 and the form was failing in the max_length... debugging I came to see