Closed n3nikita closed 5 years ago
When I click the picker first time to choose hours, it opens hour-view, then I click second time, It opens minutes-view but hours-view still there, it doesn't disappear.
<input name="startHour" min-view="decade" max-view="hour" show-header="false" type="text" ng-model="event.startHour" placeholder="text" moment-picker="event.startHour" format="HH:mm" max-date="event.endHour" required/>
I got this error only in Chrome.
First click:
Second click:
It was error with $scope.$watchCollection (only in Chrome), after fixing it, error with moment-picker disappeared.
$scope.$watchCollection
When I click the picker first time to choose hours, it opens hour-view, then I click second time, It opens minutes-view but hours-view still there, it doesn't disappear.
<input name="startHour" min-view="decade" max-view="hour" show-header="false" type="text" ng-model="event.startHour" placeholder="text" moment-picker="event.startHour" format="HH:mm" max-date="event.endHour" required/>
I got this error only in Chrome.
First click:![image](https://user-images.githubusercontent.com/22433209/42757366-73124b2c-8908-11e8-8c29-6b7dd745efe9.png)
Second click:![image](https://user-images.githubusercontent.com/22433209/42757378-7f5cdd16-8908-11e8-9802-78c930eaccb9.png)