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

fix(datetime): prefer wheel sets working value on confirmation #28520

Merged
merged 7 commits into from Dec 8, 2023

Conversation

sean-perkins
Copy link
Contributor

@sean-perkins sean-perkins commented Nov 13, 2023

Issue number: resolves #25839


What is the current behavior?

Confirming the working day when a datetime using a wheel picker without an initial value will result in a value of undefined instead of the displayed working day the user sees.

What is the new behavior?

  • preferWheel uses the working value on confirmation

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev-build: 7.5.7-dev.11701896424.13d40ac9

Co-authored-by: liamdebeasi liamdebeasi@users.noreply.github.com

@github-actions github-actions bot added the package: core @ionic/core package label Nov 13, 2023
@sean-perkins sean-perkins marked this pull request as ready for review November 14, 2023 00:23
Copy link
Contributor

@amandaejohnston amandaejohnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once my comment is addressed 👍

Copy link
Member

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on the sample app, and it works well. Great work!

@liamdebeasi liamdebeasi added this pull request to the merge queue Dec 8, 2023
@liamdebeasi liamdebeasi removed this pull request from the merge queue due to a manual request Dec 8, 2023
@liamdebeasi liamdebeasi added this pull request to the merge queue Dec 8, 2023
Merged via the queue into main with commit e886e3f Dec 8, 2023
56 checks passed
@liamdebeasi liamdebeasi deleted the sp/FW-2159 branch December 8, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: datetime wheel picker does not auto select first item
3 participants