[ADF-1265] Task Header - Datapicker is not showed in the middle. (#2155)

* Added touchUi property to md-datePicker.
This commit is contained in:
siva kumar
2017-08-03 14:48:08 +05:30
committed by Mario Romano
parent 8d49988acb
commit 1d9564a58c

View File

@@ -4,8 +4,8 @@
<span [attr.data-automation-id]="'card-dateitem-' + property.key">{{ property.displayValue }}</span>
</span>
<span *ngIf="isEditble()" class="adf-dateitem-editable">
<input class="adf-invisible-date-input" [mdDatepicker]="picker" value="{{property.value}}"><!--
--><span
<input class="adf-invisible-date-input" [mdDatepicker]="picker" value="{{property.value}}">
<span
class="adf-datepicker-toggle"
[attr.data-automation-id]="'datepicker-label-toggle-' + property.key"
(click)="showDatePicker($event)">{{ property.displayValue }}
@@ -17,7 +17,8 @@
<md-datepicker #picker
[attr.data-automation-id]="'datepicker-' + property.key"
(selectedChanged)="dateChanged($event)"
[startAt]="property.value">
[startAt]="property.value"
[touchUi]="true">
</md-datepicker>
</span>
</div>