-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Got error when call datetimepicker from a modal dialog #72
Comments
@svmashok plese don't tag people like that, unless of course you want to annoy people. Instead open the issue like normal, and provide as much details as possible:
|
Hi @rigor789 Sorry. I thought that those all are involved in this plugin development. Its my misunderstanding. Soon I will update it with my necessary information as you mentioned. |
I have added in the plugin module file import { NativeScriptDateTimePickerModule } from "nativescript-datetimepicker/angular"; and added @NgModule({ From the main page i have opened a popup and inside that popup i need to get the input of date from calendar and set into an label sample-dialog.component.tns.html But when i open the sample dialog dialog then the following error is shown ERROR Error: Uncaught (in promise): Error: Modal content has more than one root view. Version: Here is my package.json { |
hi @rigor789 Any update? |
Hi
Android
Angular 9 version
Hi when i implement datetimepicker in a modal dialog then i got the following error
ERROR Error: Uncaught (in promise): Error: Modal content has more than one root view.
JS: Error: Modal content has more than one root view.
JS: at new ZoneAwareError (file: apps\xxxxx\src\webpack:\d:\Project Workspace\node_modules@nativescript\angular\zone-js\dist\zone-nativescript.js:1298:0)
JS: at file: apps\xxxxx\src\webpack:\d:\Project Workspace\node_modules@nativescript\angular\directives\dialogs.js:92:0
JS: at ZoneDelegate.push.../../../node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js.ZoneDelegate.invoke (file: apps\xxxxx\src\webpack:\d:\Project Workspace\node_modules@nativescript\angular\zone-js\dist\zone-nativescript.js:388:0)
JS: at Object.onInvoke (file: apps\xxxxx\src\webpack:\d:\Project Workspace\node_modules@angular\core\fesm5\core.js:27859:0)
JS: at ZoneDelegate.push.../../../node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js.ZoneDelegate.invoke (file: apps\xxxxx\src\webpack:\d:\Project Workspace\node_modules@nativescript\angular\zone-js\dist\zone-nativescript.js:387:0)
JS: at Zone.push.../../../node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js.Zone.run (file: apps\xxxxx\src\webpack:\d:\Project Workspace\node_modules@nativescript\angular\zone-js\dist\zone-nativescript.js:138:0)
JS: at file:///data/data/org.nativ...
any idea?
The text was updated successfully, but these errors were encountered: