Added check visibility for date picker

This commit is contained in:
Vito Albano
2016-10-24 19:15:34 +01:00
parent 1442a116e7
commit d6669fd4f7

View File

@@ -72,6 +72,7 @@ export class DateWidget extends TextFieldWidgetComponent implements OnInit {
onDateSelected() {
let newValue = this.datePicker.time.format(this.DATE_FORMAT);
this.field.value = newValue;
this.checkVisibility(this.field);
if (this.elementRef) {
this.setupMaterialTextField(this.elementRef, componentHandler, newValue);