Skip to content

Throw error one day interval between min and max only if there is no tim...#84

Open
Freddy03h wants to merge 1 commit intobevacqua:masterfrom
Freddy03h:master
Open

Throw error one day interval between min and max only if there is no tim...#84
Freddy03h wants to merge 1 commit intobevacqua:masterfrom
Freddy03h:master

Conversation

@Freddy03h
Copy link

Throw error one day interval between min and max only if there is no time picker

Choose a datetime in the same day (eq: min 2015-03-09T10:00 and max 2015-03-09T18:00) throw an error max must be at least one day after min but functionally it doesn't have to. Actually if we comment the error it work.

See the issue here :
http://jsbin.com/zaxinimuki/1/edit?html,console,output
(the datetime-local input is just to show that's, functionally, work on chrome android)

So I just changed the condition to only check it if time option is false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant