Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Wed, 15 Jun 2016 04:37:03 +0000 (12:37 +0800)
committeredward <edward@roojs.com>
Wed, 15 Jun 2016 04:37:03 +0000 (12:37 +0800)
Roo/bootstrap/ComboBox.js

index 7f05cdb..1183527 100644 (file)
@@ -2148,6 +2148,8 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             this.el.dom.scrollTop = 0;
         }, this);
         
+        this.originalValue = this.getValue();
+        
         this.inputEl().on("click", this.showTouchView, this);
         
         this.touchViewFooterEl.select('.roo-touch-view-cancel', true).first().on('click', this.hideTouchView, this);