mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Added check visibility for date picker
This commit is contained in:
@@ -72,6 +72,7 @@ export class DateWidget extends TextFieldWidgetComponent implements OnInit {
|
|||||||
onDateSelected() {
|
onDateSelected() {
|
||||||
let newValue = this.datePicker.time.format(this.DATE_FORMAT);
|
let newValue = this.datePicker.time.format(this.DATE_FORMAT);
|
||||||
this.field.value = newValue;
|
this.field.value = newValue;
|
||||||
|
this.checkVisibility(this.field);
|
||||||
|
|
||||||
if (this.elementRef) {
|
if (this.elementRef) {
|
||||||
this.setupMaterialTextField(this.elementRef, componentHandler, newValue);
|
this.setupMaterialTextField(this.elementRef, componentHandler, newValue);
|
||||||
|
Reference in New Issue
Block a user