# HG changeset patch # User Raimund Renkert # Date 1429276610 -7200 # Node ID a8389baaf4afa8b96eabd653ba916fe9ce9ff487 # Parent fca4e738415e71e533e212e89440b7e16c84f42f Added method to clear values. diff -r fca4e738415e -r a8389baaf4af app/view/widget/base/ComboBox.js --- a/app/view/widget/base/ComboBox.js Fri Apr 17 14:13:28 2015 +0200 +++ b/app/view/widget/base/ComboBox.js Fri Apr 17 15:16:50 2015 +0200 @@ -101,6 +101,10 @@ return this.down('combobox').getValue(); }, + clearValue: function() { + this.down('combobox').clearValue(); + }, + getName: function() { return this.name; }, diff -r fca4e738415e -r a8389baaf4af app/view/widget/base/DateField.js --- a/app/view/widget/base/DateField.js Fri Apr 17 14:13:28 2015 +0200 +++ b/app/view/widget/base/DateField.js Fri Apr 17 15:16:50 2015 +0200 @@ -95,6 +95,10 @@ return this.down('datefield').getValue(); }, + clearValue: function() { + this.down('datefield').clearValue(); + }, + getName: function() { return this.name; },