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

Dataform Error after upgrading to Angular 6 #690

Closed YoussefGheith closed 6 years ago

YoussefGheith commented 6 years ago

Did you verify this is a real problem by searching the NativeScript Forum?

Yes

Tell us about the problem

after upgrading my project to angular 6 running a page with ui RadDataForm give me this

"CONSOLE ERROR file:///app/tns_modules/@angular/core/bundles/core.umd.js:1682:24: ERROR Error: Uncaught (in promise): TypeError: null is not an object (evaluating 'this.page.ios') createNativeView@file:///app/tns_modules/nativescript-ui-dataform/ui-dataform.js:665:36"

Which platform(s) does your issue occur on?

ios Only

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

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

<RadDataForm #addInvoiceDataForm commitMode="Immediate">
            <TKEntityProperty tkDataFormProperty name="invoiceNo" displayName="رقم الفاتورة" index="0">
                <TKPropertyEditor tkEntityPropertyEditor type="Text">
                    <TKPropertyEditorStyle tkPropertyEditorStyle labelPosition="Top"></TKPropertyEditorStyle>
                </TKPropertyEditor>
            </TKEntityProperty>
        </RadDataForm>
tsonevn commented 6 years ago

Hi @yonkoGH, Please try the below-described steps and check if you will have the same issue:

  1. remove the platform with tns platform remove ios;
  2. delete node_modules, hooks and package-lock.json from the project.
  3. remove the app from the device or simulator, which you are using for testing.
  4. build again the app tns run ios

If the problem persists, please send us the project, which will allow us to recreate the issue.

YoussefGheith commented 6 years ago

Still getting the same error To be more specific the error occurs when I try opening a modal page that contains a RadDataForm

thank you for your help

YoussefGheith commented 6 years ago

Dear @tsonevn
here is the link to the demo https://play.nativescript.org/?template=play-ng&id=UIRsSa

simonettoa commented 6 years ago

@yonkoGH yeah, same error! android works fine; I'm in the same situation using a modal page to show a data form, using for example the nativescript-ui-calendar works fine in both o.s. - waiting for a fix

wanpeng2008 commented 6 years ago

same error on ios. Any workaround?

YoussefGheith commented 6 years ago

any news ??

mhmo91 commented 6 years ago

any updates?

mhmo91 commented 6 years ago

Hey team, ETA? we have an app to go live very soon n this issue is breaking most of our ios build, thanks!

DimitarTodorov commented 6 years ago

The issue is fixed with the latest release of nativescript-ui-dataform. https://github.com/NativeScript/nativescript-ui-dataform/releases/tag/v3.6.2