diff --git a/bower.json b/bower.json index ed0d4b1..7d2d2ae 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-reports", "description": "Strolch WebComponent Reports", - "version": "0.3.0", + "version": "0.3.1", "authors": [ "Robert von Burg" ], diff --git a/strolch-wc-reports.html b/strolch-wc-reports.html index 87d4042..b5efbbd 100644 --- a/strolch-wc-reports.html +++ b/strolch-wc-reports.html @@ -455,11 +455,13 @@ }, fromDate: { type: Date, - value: null + value: null, + observer: 'dateFilterChanged' }, toDate: { type: Date, - value: null + value: null, + observer: 'dateFilterChanged' }, propagateShowDialog: { type: Boolean, @@ -501,6 +503,10 @@ this.hideLoadingOverlay(); } }, + dateFilterChanged: function (newValue) { + if (newValue != null) + this.queryReports(); + }, /* Listeners */ listeners: {