Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: prevent ion-datetime selected value to be updated #20016

Closed
loopezz opened this issue Nov 28, 2019 · 2 comments
Closed

bug: prevent ion-datetime selected value to be updated #20016

loopezz opened this issue Nov 28, 2019 · 2 comments
Labels

Comments

@loopezz
Copy link

loopezz commented Nov 28, 2019

Bug Report

Ionic version:

[x] 4.x

Current behavior:
Updating the value while the picker is presented does also update the selected value within the picker.

Expected behavior:
The selected value should not be updated due to bad UX. It resets the user input.

  • Do update current datetime which is visible in the UI list;
  • Don't update current selected value while the picker is presented

Steps to reproduce:
Just select a custom time.

Related code:
https://stackblitz.com/edit/ionic-v4-angular-tabs-qnrfsw

insert short code snippets here

Other information:
Expected behavior is the same behavior as selecting datetime on iOS.

Ionic info:

insert the output from ionic info here
@ionitron-bot ionitron-bot bot added the triage label Nov 28, 2019
@liamdebeasi
Copy link
Contributor

Thanks for the issue. This is resolved in the new datetime picker coming in Ionic 6.

Please see https://github.com/ionic-team/ionic-framework/blob/next/BETA.md for more on how to get started with the Ionic 6 pre-release. Thanks!

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 28, 2021

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 28, 2021
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

2 participants