You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DatePicker dateChange event not triggered on iOS #8264
Describe the bug
When opening the date picker with a selected Date different than today, changing the selected date to today doesn't update the date picker's date nor it triggers a date change event.
I still cannot reproduce it: https://play.nativescript.org/?template=play-ng&id=jto0xk . Can you create a playground sample to show that? I'm setting the date to a date in the past, then either programmatically or manually changing the date to today always trigger the onDateChanged event.
Activity
NickIliev commentedon Jan 21, 2020
@bernica thank you for the contribution - you need to sign the CLA so we could merge the PR
vtrifonov commentedon Jan 23, 2020
@bernica can you, please, provide a playground example for that as I cannot reproduce it? Here's what I'm testing - https://play.nativescript.org/?template=play-ng&id=BTNd3H.
bernica commentedon Jan 23, 2020
@vtrifonov I'm initializing the date picker like:
and within the view:
vtrifonov commentedon Jan 23, 2020
I still cannot reproduce it: https://play.nativescript.org/?template=play-ng&id=jto0xk . Can you create a playground sample to show that? I'm setting the date to a date in the past, then either programmatically or manually changing the date to today always trigger the onDateChanged event.
vtrifonov commentedon Jan 27, 2020
@bernica could you, please, provide a playground demo or a sample app with the issue, as I cannot reproduce it?
bernica commentedon Jan 27, 2020
@vtrifonov https://play.nativescript.org/?template=play-ng&id=hNo33P&v=2 when loaded the selected date is tomorrow, and changing it to today's date doesn't trigger the dateChange event (in which I log to the console).
vtrifonov commentedon Jan 27, 2020
I see now! Thanks, it makes sense now! Are you going to add something else to the PR as it is in Draft?
bernica commentedon Jan 27, 2020
I won't be able to add anything more as I lack time