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

pushing cancel on timePicker causes an exception / crash #163

Merged
merged 1 commit into from
Oct 31, 2019
Merged

Conversation

ayushin
Copy link
Contributor

@ayushin ayushin commented Oct 30, 2019

If a user would close the time picker with cancel and there were no current value DateTimeField.convert would try to call .hour on null.

This pr handles null cases properly.

If a user would close the time picker with cancel and there were no current value DateTimeField.convert would try to call .hour on null.

This pr handles null cases properly.
@danvick danvick merged commit 9eb5f58 into flutter-form-builder-ecosystem:master Oct 31, 2019
@danvick
Copy link
Collaborator

danvick commented Oct 31, 2019

Thanks for your input @ayushin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants