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

[@nativescript/datetimepicker] Add try/catch to addEventListener #141

Closed
msaravitz opened this issue Jun 23, 2021 · 0 comments
Closed

[@nativescript/datetimepicker] Add try/catch to addEventListener #141

msaravitz opened this issue Jun 23, 2021 · 0 comments

Comments

@msaravitz
Copy link
Contributor

msaravitz commented Jun 23, 2021

Encountered a crash issue while running on android.

TypeError: Cannot read property 'addEventListener' of undefined
JS: at DateTimePickerFields.addEventListener (file: src\webpack:@NativeScript\template-hello-world-ng\node_modules@nativescript\datetimepicker\ui\date-time-picker-fields.js:105:0)
JS: at DateTimePickerFields.on (file: src\webpack:@NativeScript\template-hello-world-ng\node_modules@nativescript\core\data\observable\index.js:49:0)

Previous issue and working solution found here. NativeScript/nativescript-datetimepicker#87

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

No branches or pull requests

2 participants