Closed n3nikita closed 6 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:
Second click: