mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged revisions 47501 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq ........ r47501 | ischommer | 2007-12-22 17:26:09 +1300 (Sat, 22 Dec 2007) | 1 line fixed getTabIndex() typo ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52189 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f737d52138
commit
230e77e712
@ -28,7 +28,7 @@ class TextField extends FormField {
|
|||||||
'id' => $this->id(),
|
'id' => $this->id(),
|
||||||
'name' => $this->attrName(),
|
'name' => $this->attrName(),
|
||||||
'value' => $this->attrValue(),
|
'value' => $this->attrValue(),
|
||||||
'tabindex' => $this->getTabIndexHTML(),
|
'tabindex' => $this->getTabIndex(),
|
||||||
'maxlength' => ($this->maxLength) ? $this->maxLength : null,
|
'maxlength' => ($this->maxLength) ? $this->maxLength : null,
|
||||||
'size' => ($this->maxLength) ? min( $this->maxLength, 30 ) : 30
|
'size' => ($this->maxLength) ? min( $this->maxLength, 30 ) : 30
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user