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 Picker "cancel" button behavior fix #1444

Conversation

geronimol
Copy link
Contributor

@geronimol geronimol commented Dec 12, 2024

Solution description

Currently, the DateTime Picker is picking the date+time even when the user presses "cancel" in the time picker dialog.
This will change that behavior so if the user presses the "cancel" button, the selections he made will not be saved in the field.

Screenshots or Videos

To Do

  • Read contributing guide
  • Check the original issue to confirm it is fully satisfied
  • Add solution description to help guide reviewers
  • Add unit test to verify new or fixed behaviour
  • If apply, add documentation to code properties and package readme

@deandreamatias
Copy link
Collaborator

Please @geronimol, update the code to pass the Base pipeline. Thanks!

@deandreamatias deandreamatias added the awaiting author response Waiting for author of issue to respond with more info label Dec 18, 2024
@geronimol geronimol force-pushed the date-picker-cancel-behavior branch from 05b9945 to 2dbd891 Compare December 18, 2024 15:34
geronimol and others added 12 commits December 18, 2024 12:43
Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/flutter_lints-v5.0.0/packages)

---
updated-dependencies:
- dependency-name: flutter_lints
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v4...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@geronimol geronimol force-pushed the date-picker-cancel-behavior branch from 2dbd891 to f39fa6d Compare December 18, 2024 15:43
@geronimol geronimol changed the title DateTime Picker "cancel" button behavior fix: DateTime Picker "cancel" button behavior Dec 18, 2024
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.11%. Comparing base (11a0eef) to head (e7b3f94).
Report is 36 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1444      +/-   ##
==========================================
+ Coverage   87.82%   88.11%   +0.28%     
==========================================
  Files          21       21              
  Lines         772      774       +2     
==========================================
+ Hits          678      682       +4     
+ Misses         94       92       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@geronimol geronimol changed the title fix: DateTime Picker "cancel" button behavior fix: DateTime Picker "cancel" button behavior fix Dec 18, 2024
@geronimol
Copy link
Contributor Author

@deandreamatias not sure how to fix this Error: Invalid or missing task number: ''. Must match: #\d+ 🤔

@deandreamatias deandreamatias merged commit 08ccbc9 into flutter-form-builder-ecosystem:main Dec 18, 2024
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting author response Waiting for author of issue to respond with more info
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants