BUGFIX Disabled browser autocomplete on <input> elements in TagField - overlays the actual tagfield suggestions (automatically inserted in DOM beneath the <input>)

This commit is contained in:
chillu 2009-02-01 06:39:57 +00:00
parent 38070e1919
commit 41777d9452
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ class TagField extends TextField {
'name' => $this->Name(),
'value' => $this->Value(),
'tabindex' => $this->getTabIndex(),
'autocomplete' => 'off',
'maxlength' => ($this->maxLength) ? $this->maxLength : null,
'size' => ($this->maxLength) ? min( $this->maxLength, 30 ) : null,
);