17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 901 Views |
-
TextareaField Suggestion

31 July 2008 at 4:02am
While coding I found this trivial detail. I would like to propose a minor update to the TextareaField construct.
The default behavior for other FormFields such as TextField are set to automatically set the $title to $name if $title is null. The construct for TextareaField sets $title to an empty string so you must include the $title otherwise it will appear blank.
Could we have $title be set to null in the construct of TextareaField like in the other FormFields?
Thanks!
John -
Re: TextareaField Suggestion

4 August 2008 at 8:03pm
Perfectly acceptable change, I've noticed this myself but couldn't find a ticket in the open source tracker. We're all about making the form fields more consistent, so I've made a ticket to do it here:
http://open.silverstripe.com/ticket/2710
Thanks for spotting this.
Sean
| 901 Views | ||
|
Page:
1
|
Go to Top |


