Bug fix for datepicker with offset time (#12847)
* https://github.com/umbraco/Umbraco-CMS/issues/12844 * remove "X" from ng-attr Doing the test I killed the ng-if attr. But forgot it was there doing the commit Co-authored-by: Lucas Bach Bisgaard <lom@novicell.dk>
This commit is contained in:
committed by
GitHub
parent
68f9a1e68c
commit
4b39cfe913
@@ -106,7 +106,7 @@ function dateTimePickerController($scope, angularHelper, dateHelper, validationM
|
||||
setDate(momentDate);
|
||||
}
|
||||
setDatePickerVal();
|
||||
flatPickr.setDate($scope.model.value, false);
|
||||
flatPickr.setDate($scope.model.datetimePickerValue, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<div id="datepicker{{model.alias}}">
|
||||
|
||||
<umb-date-time-picker
|
||||
ng-model="model.value"
|
||||
ng-model="model.datetimePickerValue"
|
||||
options="datePickerConfig"
|
||||
on-setup="datePickerSetup(fpItem)"
|
||||
on-change="datePickerChange(dateStr)">
|
||||
|
||||
Reference in New Issue
Block a user