Skip to content

Fix(picker) issue where datepicker could select invalid dates - #14329

Closed
kayasky wants to merge 1 commit into
ionic-team:masterfrom
kayasky:satbirjhuti-patch-1
Closed

kayasky wants to merge 1 commit into
ionic-team:masterfrom
kayasky:satbirjhuti-patch-1

Conversation

@kayasky

@kayasky kayasky commented Apr 14, 2018 •

Copy link
Copy Markdown

Short description of what this resolves:

This fix resolves the Invalid Dates issue in ion-datetime. Currently, it is possible to select invalid dates, because the day column does not update on the first picker change (for example, open the picker, select January 31st, then move Month February).

Full credit for this fix goes to @eisene, you can see his commit here:
eisene/ionic@4aa494d

Changes proposed in this pull request:

make ion-change fire on first change of picker column

Ionic Version: 1.x / 2.x / 3.x / 4.x
4.x

Fixes: #
#13287
#12533
#12319
#13430

This fix resolves the Invalid Dates issue in ion-datetime. Currently, it is possible to select invalid dates, because the day column does not update on the first picker change (for example, open the picker, select January 31st, then move Month February).

Full credit for this fix goes to @eisene, you can see his commit here:
eisene/ionic@4aa494d
@olivercodes

Copy link
Copy Markdown
Contributor

@satbirjhuti fyi this had to be updated for stencil / ionic 4, the above fix no longer works. I've created a PR here that addresses it:

#14434

@kayasky

kayasky commented May 6, 2018

Copy link
Copy Markdown
Author

@olivercodes thanks! I'll close this PR.

@kayasky kayasky closed this May 6, 2018
@olivercodes

Copy link
Copy Markdown
Contributor

No problem! If you have time to test out the new fix please do.

@CompRider

Copy link
Copy Markdown

I am facing same issue on IONIC CLI PRO 4.1.1

@vajohn

vajohn commented Oct 20, 2018

Copy link
Copy Markdown

Any luck with the fix ???

@ATouhou

ATouhou commented Nov 8, 2018

Copy link
Copy Markdown

Any update? as to when #14434 will be officially implemented

@kayasky
kayasky deleted the satbirjhuti-patch-1 branch January 21, 2026 03:22
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.

6 participants