ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

nativescript-ui-dataform with xplat project structure throws ERROR TypeError: callback must be function. #1464

Closed Salahudeen closed 3 years ago

Salahudeen commented 3 years ago

Please take a minute to read our NativeScript Code of Conduct before proceeding with posting issues or discussing. The purpose of this guide is to make communication and cooperation within our forums a pleasure for you and the other members.

Please, provide the details below:

Tell us about the problem

When i use {N}-ui-datafrom plugin in an xplat project structure and build a component in the xplat/nativescript folder the app throws runtime error System.err: TypeError: callback must be function. , but when use a page directly on the nativescript app, everything works fine... I have created a repository with these modules to replicate the same. There are two modules (dahsboard & settings). By default, the dahsboard get loaded and while navigating to settings, runtime error System.err: TypeError: callback must be function

Which platform(s) does your issue occur on?

Tested only on Android...

Please provide the following version numbers that your issue occurs with:

    "@nativescript/core": "rc",
    "@nativescript/theme": "^2.3.3",
    "@nativescript/angular": "^10.1.0",
    "nativescript-ui-autocomplete": "^7.0.2",
    "nativescript-ui-dataform": "^7.0.2",
    "nativescript-ui-sidedrawer": "^9.0.3",
    "@nativescript/android": "7.0.0",

Please tell us how to recreate the issue in as much detail as possible.

Please clone the repo to replicate https://github.com/Salahudeen/Salahudeen-nativescript-ui-dataform-issue

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

https://github.com/Salahudeen/Salahudeen-nativescript-ui-dataform-issue

Salahudeen commented 3 years ago

Never mind, it was a stupid mistake, i had a nested stack layout and page-router-outlet between app component in nativescript app and the layout page in xplat project....