Comments (3)
Hi,
I found the issue when changing hours or minutes with the keyboard keys (Up/Down). You need to add the following lines to the validate function:
// assign number.
if (hours < 10) {
hours = '0' + hours;
}
input.val(hours);
and for minutes as well:
// assign number.
if (minutes < 10) {
minutes = '0' + minutes;
}
input.val(minutes);
Please update the timepicki.js to solve the issue mentioned above.
Regards
from timepicki.
You know you can make a pull request by yourself to address this issue?
from timepicki.
Hi,
I've already done that. But I am not authorised to push changes to the
repo. This is one of the reasons why I asked to remove the duplicate line,
because somebody else might come across the same issue I had using the code
published on the repo.
Regards
On Thu, Sep 1, 2016 at 3:42 PM, simivar [email protected] wrote:
You know you can make a pull request by yourself to address this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#26 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKjLpnDS9XkDLDJzJnBha9nx1DSiL2n7ks5qltY2gaJpZM4Jg9k6
.
from timepicki.
Related Issues (20)
- Change on/off
- Active Keyboard
- Bower
- Composer
- How to increase/decrease numbers when holding down arrow?
- Make The Value Optional
- input tranform ex: 17:00 to 00:00:17
- Need callback HOT 2
- Problem with minutes format in zip ready package
- Restricting time in 12 hr format is not working.
- Wrong format of minutes when 24hours format is used HOT 4
- How to pop up an alert whenever i change hour or minit or meridian? HOT 1
- Unable to click off on iphone mobile devices HOT 1
- Functions for open/close or open option
- When picking minutes, value sets to "0" HOT 1
- When changing hour/minute/meridian input with keyboard then clicking on the parent input, input values revert to original value
- How to destroy the timepicki?
- How to change Time in two TimePicki Components
- AM vs PM inconsistencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timepicki.