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

RadDataForm back navigation destroys iOS source binding #1350

Open NickIliev opened 4 years ago

NickIliev commented 4 years ago

@Noppey commented on Wed Feb 05 2020

Environment Update available for component nativescript. Your current version is 6.3.0. Update available for component tns-core-modules. Your current version is 6.3.0-next-2020-02-05-134007-01 Update available for component tns-android. Your current version is 6.3.0 Component tns-ios has 6.3.0 version and is up to date.

Describe the bug RadDataForm does not bind properly on iOS when navigating back to the component with the form. After navigating back, you can change values in the form fields, but these values aren't propagated into the source object.

To Reproduce Open the playground project: Fill a value on "test" and click "Test" to verify. Then click "Next" to navigate away. Then click "back" and try to update the value on "test", the binding is now gone and "Test" (or anything else) won't update the value of the source variable anymore.

Expected behavior Source variable should be updated after navigating back to the form and changing values.

Sample project https://play.nativescript.org/?template=play-ng&id=vwLAH9&v=3

Additional context iOS issue only

Noppey commented 4 years ago

Any feedback, can you reproduce this? Can I work around this issue?

erwindemoel commented 4 years ago

We are having the same issue. When will this bug be fixed? Or is there a workaround we can use for this issue?

manojdcoder commented 4 years ago

Attaching the native delegate back on loaded event seems to solve the issue.

https://play.nativescript.org/?template=play-ng&id=vwLAH9&v=4

mobifly-dev commented 2 years ago

Attaching the native delegate back on loaded event seems to solve the issue.

https://play.nativescript.org/?template=play-ng&id=vwLAH9&v=4

Thank you, brillant! It works.

For someone else who need fast solution:

to observable: ` /**

loaded="{{ onDataFormLoaded }}"