diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Web/UI/ActiveControls/TAutoComplete.php | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ BUG: Issue #417 - TActiveCustomValidator and Display=Dynamic not work anymore (s BUG: Issue #418 - Can't get parameters when friendly url enabled with UrlFormat=Path (sampsa.saarela) ENH: Issue #419 - CssClass for PushButtons of TPager (ctrlaltca) ENH: Issue #420 - Permit to easily mock TActiveRecordgateway for unit testing (mvschaik) +BUG: Issue #421 - TAutocomplete not rendering an empty suggestion list (Dario Rigolin) EHN: Permit to change the default cipher in TSecurityManager::setEncryption(); changed the default cipher from 3DES to AES256 (ctrlaltca) EHN: Use php's hash_hmac() when available in TSecurityManager, and permit the use of all algorithms supported by php (ctrlaltca) diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index ce648b02..d09e52c6 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -270,6 +270,7 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer $repeater->setHeaderTemplate(new TAutoCompleteTemplate('<ul>')); $repeater->setFooterTemplate(new TAutoCompleteTemplate('</ul>')); $repeater->setItemTemplate(new TTemplate('<li><%# $this->DataItem %></li>',null)); + $repeater->setEmptyTemplate(new TAutoCompleteTemplate('<ul></ul>')); $this->getControls()->add($repeater); return $repeater; } |