Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

onlyValid 'between' doesn't work correctly with month list on IOS #99

Open
sergetk opened this issue Feb 7, 2017 · 5 comments
Open
Assignees
Labels

Comments

@sergetk
Copy link

sergetk commented Feb 7, 2017

If I set a range with onlyValid.
I can change month outside the cut-off range by selecting month from select list , the dropdown will display incorrect month but the model will actually be correct.

Example... if cut-off day is 6 Feb , and I use dropdown to select March then select list will show March but the model and actual days calendar will still show days for Feb
screen shot 2017-02-08 at 9 34 53 am
.

This bug doesn't show up on browsers but shows up on IOS simulator or ipad device.

@markoivanovski
Copy link

Also having this problem

@katemihalikova
Copy link
Owner

Thanks for reporting, I'll try to look into it.

@katemihalikova katemihalikova self-assigned this Mar 8, 2017
@l1nknyto
Copy link

Same bugs happened to me.
After search a while, i found the root cause for mine is iOS date parsing different from Android.
So make sure u are passing correct date object for 'between' or others.

@srimitetib23
Copy link

srimitetib23 commented Jan 12, 2018

@l1nknyto Is there any specific format that dates if we pass, will disable blocked values in month field both on android and ios consistently.?
image

@l1nknyto
Copy link

@srimitetib23
yyyy/MM/dd hh:mm
if you dont use time, just use: yyyy/MM/dd

hope that helps.

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

No branches or pull requests

5 participants