impove the analytics unit tests

This commit is contained in:
mauriziovitale84
2016-10-12 14:30:22 +01:00
parent 1783e0d2c9
commit f23bb3e4c3
15 changed files with 678 additions and 150 deletions

View File

@@ -36,7 +36,7 @@ export class NumberWidget extends WidgetComponent {
handler.upgradeAllRegistered();
if (this.elementRef && this.hasValue()) {
let container = this.elementRef.nativeElement.querySelector('.mdl-textfield');
if (container) {
if (container && container.MaterialTextfield) {
container.MaterialTextfield.change(this.field.value.toString());
}
}