Repository navigation
fix(picker): Invalid Dates Bug - make ionChange event fire on first picker column change - #13529
olivercodes wants to merge 236 commits into
Conversation
thanks @Khalid-Nowaf fixes #11745 fixes #11211
When `Tabs` are nested within each other, the highlight can get misaligned. This prevents that by ensuring the affected `.tab-highlight` is a direct child of the targeted `Tabs`.
…tabs * wip * wip * progress * wippy skippy * getting there * all tests passing except goBack * unit tests pass again boi * goBack tests pass * great success * the good stuff
|
Would this also resolve this issue? #11919 |
|
@dylanvdmerwe I think it would actually. I'll test it later today. |
|
How can i use this fix in my project now? Or do I need to wait till this pull request gets merged in master? |
|
@thisIsChetan You would have to clone my fork (or clone Ionic apply the fix), and build+install the local version to your node_modules. |
|
@Devnetics Thanks for your quick response! I guess local installation is not a solution for me as I have to maintain my application code on Github repo and then automate the build via Jenkins. Is there a way that I could install your fork of ionic via terminal using npm install path/to/your/ fork? |
|
@thisIsChetan, sorry for the slow response, good ole holidays. Yes you could do that, see npm link docs for details. https://docs.npmjs.com/cli/link. If you need more help setting it up just let me know. |
|
Hello and thank you for contributing to Ionic! We have been working on porting all of the Ionic components to web components and have recently updated |
|
@olivercodes since this was closed, I recreated the PR with your fix #14329 which is compatible with v4 |
|
@satbirjhuti Thanks! But, unfortunately, it won't work with just this change anymore (note the commented code below your changes). I'm working with @brandyscarney on a full fix, PR should be soon. |
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:
https://github.com/eisene/ionic/commit/4aa494da1b3b082646c0a98ec1f69c823c126eb5
Changes proposed in this pull request:
make ion-change fire on first change of picker column
Ionic Version: 1.x / 2.x / 3.x
3.x
Fixes: #
#13287
#12533
#12319
#13430