Open andzejsw opened 6 years ago
Got the same problem. Too me, minutes-format does not seem to work either.
Both works if I set them through the momentPickerProvider though
Both works if I set them through the momentPickerProvider though
Not working for me too..
It is property of momentPickerProvider, so you shouldn't use it on input tag.
I had the same problem so below solution works for me, changes in angular-moment-picker.min.js file minutesStep: "=?", // define it in scope
wherever you find this.provider.minutesStep change it to this.$scope.minutesStep || this.provider.minutesStep
and then pass value from specific element like minutes-step="15"
it will work. If not then contact me on himu.mittal23@gmail.com
` <input type="text" class="form-control" ng-model="info.date" moment-picker="ctrl.myInput" minutes-start="0" minutes-step="1" minutes-end="59"
Everything worked except minutes step. Cant change this value!