-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore seconds? #212
Comments
Yup, check out the builder: http://indrimuska.github.io/angular-moment-picker/#builder You're looking for the max-view property. If add |
Sorry, not working, I set the max-view to minutes but still it is showing the current minutes and seconds in the input after selection. |
Should be enough to set max-view="hour" and handle change event like this $scope.trimSeconds = function(momentTime){ |
Is there a way to completely ignore seconds (Minute view) ? I tried setting below:
still it shows the Minute view to select the only available option for seconds there which is "00" (top of the minute). Is there a way to only select the date and time with hours and minutes ?
The text was updated successfully, but these errors were encountered: