NativeScript / nativescript-datetimepicker

Plugin with date and time picking fields
Apache License 2.0
27 stars 26 forks source link

Add cancecled event to the date/time picker #51

Closed DimitarTodorov closed 4 years ago

DimitarTodorov commented 4 years ago

PR Checklist

What is the current behavior?

There is no way to know if the user cancelled or confirmed.

What is the new behavior?

A "cancelled" event is emitted when the return value of the picker is null.

Fixes #41.