Giter VIP home page Giter VIP logo

appointment-picker's People

Contributors

jannicz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

appointment-picker's Issues

Add a case to the valid check

if (hour < opt.minTime || hour > opt.maxTime || hour > 24) { // Out of min/max

maxTime sets the maximum hour that can be picked, default is 24

it mean that e.g 9 is set that 9:15 cannot be picked or ?

if yes, add please this check (hour === opt.maxTime && minute) for the intervals, in the moment u can pick 9:00 as last maxTime is correct, but not the 9:[intervals].
} else if(hour === opt.maxTime && minute > 0){

Leading Zero

Do a-picker capable of leading zero for 24H format (05:30 instead of 5:30)?

Missing IE10 Flexbox support

IE10 and older Safari Browsers could be easily supported by adding

display: -ms-flexbox;  /* IE 10 */
display: -webkit-flex; /* Safari 6.1+. iOS 7.1+, BB10 */

only allowed dates?

As it seems timeslot are created programmatically via min/max, start/end and disabled dates -

But I have an array here which contains only the available start times of a timeslot.
(the length of a slot is defined.)

Would it be possible to pass this array to to th picker somehow?

Thank you in advance and best Regards, MT

Not working in IE9

Add classList polyfill to make the picker work in IE9 (and comparable) browsers.

Click, hold & release on input closes the picker

The picker should not close either if clicked in the same input field or after holding and releasing the mouse button. The picker should only close if clicked outside of both the input and the picker area.

Intervals of 45mins not being calculated properly

When choosing an interval of 45mins, the time slots are not being calculated properly.
See screenshot provided.

image
image

It must be 10:00, 10:45, 11:30, 12:15, ...
I have not tested for all different kind of intervals between 1-60, other intervals may not be calculated properly as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.