Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Timepicker erasing user input when meridian is clicked #773

Closed
rlrhett opened this issue Aug 6, 2013 · 3 comments
Closed

Timepicker erasing user input when meridian is clicked #773

rlrhett opened this issue Aug 6, 2013 · 3 comments

Comments

@rlrhett
Copy link

rlrhett commented Aug 6, 2013

When a page loads with a timepicker directive, the time input fields are blank and the meridian button shows neither meridian. A natural progression, and in fact the tab order, is for the user to enter the hour first, then the minute, then click on the meridian button.

However, when the user clicks on the meridian button for the first time, the values entered in the hour and minute input boxes are over-written by values for the current hour/minute. This results in the very annoying user experience of having to go back and re-enter the values previously entered.

Here is a plunker demonstrating the problem:

http://plnkr.co/edit/ZjhskDy21B5VUTQH2x3W?p=preview

@bekos
Copy link
Contributor

bekos commented Aug 8, 2013

@rlrhett This is actually a bug. Template should never be empty, even if the model is null. This is solved in #789.

@bekos bekos closed this as completed in b08e993 Aug 10, 2013
@rlrhett
Copy link
Author

rlrhett commented Aug 14, 2013

I hate to seem like such a noob, but how do I use this bug fix? If I bower update angular-bootstrap it is not updated with this latest commit.

Again, sorry for such a dumb question.

Thanks.

@hallister
Copy link

it was just committed in the last few days so you'll have to pull from master and run the following:

npm install
grunt

This will create a dist folder with this (among other) recent fixes. The only other method is waiting for 0.6 to drop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants