RGkevin / datetimeRangePicker

An angular directive that includes a Datepicker and a time range picker
53 stars 26 forks source link

Slider is not updating on startup #3

Open aymeba opened 9 years ago

aymeba commented 9 years ago

Hi,

my slider is not getting updated on startup. An update is fired if i click to start/end buttons on the slider or after resizing the window.

My configuration:

$scope.todoRange = { date: { from: new Date(), to: new Date() }, time: { from : 10, // default start time (in minutes) to : 300, // default end time (in minutes) step : 15, // step width minRange: 15, // min range hours24 : true // true = 00:00:00 | false = 00:00 am/pm }, "hasDatePickers": true, "hasTimeSliders": true }; $scope.todoLabels = { date: { from: 'Start Datum', to : 'End Datum' } };

Von {{todo.start}} .. Bis {{todo.due}} <div class="animated smooth todo-range" ng-class="todoCollapseRange ? 'bounceIn' :''" rg-range-picker="todoRange" ng-show="todoCollapseRange" labels="todoLabels">

<script src="${pageContext.request.contextPath}/resources/lib/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
<script src="${pageContext.request.contextPath}/resources/lib/venturocket-angular-slider/build/angular-slider.js"></script>
<script src="${pageContext.request.contextPath}/resources/lib/datetimeRangePicker/range-picker.js"></script>

Any idea to solve this issue?

BTW: Can i put some button into slider?

niqt commented 8 years ago

I have the same

Prajyot1234 commented 1 year ago

i also have same issue.

Prajyot1234 commented 1 year ago

@aymeba @niqt have guys find the solution.