summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php1
1 files changed, 1 insertions, 0 deletions
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;
}