summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 5edeccef..f3e6881c 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,5 +1,6 @@
Version 3.1.2 To be released
============================
+BUG: Ticket#719 - TAutoCompleter should not trigger Validation if CausesValidation=False (Christophe)
CHG: Changed TConditional so that the controls in its template behave like they are in its parent (Qiang)
CHG: Active Record many-to-many relationship change from self::HAS_MANY to self::MANY_TO_MANY (Wei)
ENH: Active Record supports multiple foreign references of the same table (Wei)
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php
index 3b457bbb..e29e2538 100644
--- a/framework/Web/UI/ActiveControls/TAutoComplete.php
+++ b/framework/Web/UI/ActiveControls/TAutoComplete.php
@@ -343,7 +343,8 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer
if(($minchars=$this->getMinChars())!=='')
$options['minChars'] = $minchars;
if(($frequency=$this->getFrequency())!=='')
- $options['frequency'] = $frequency;
+ $options['frequency'] = $frequency;
+ $options['CausesValidation'] = $this->getCausesValidation();
return $options;
}