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 crashes iOS when using a Switch PropertyEditor (no error output) #1504

Open rob4226 opened 3 years ago

rob4226 commented 3 years ago

When using a Switch type PropertyEditor (linked to a true/false boolean on the source object), anytime you tap the Swtich on the UI to change its value, it crashes the app on iOS immediately with no errors or exceptions output. It works fine on Android. I tried on iOS versions 12, 13, and 14 with the same results. I also tried on a brand new NativeScript Angular project with just a RadDataForm and still go the same results so its not related to my individual project. Thank you.

aj80 commented 3 years ago

I have experienced same issue. Exactly followed as per sample https://github.com/ProgressNS/nativescript-ui-samples-angular/blob/master/dataform/app/examples/validation/dataform-validation.component.html Only difference in my environment is nativescript v7.0

bennysiu commented 3 years ago

i have same problem in iOS, is it any update for this issue? Thanks.

foxgreek commented 3 years ago

Still breaking in NS 8.0 - any ideas for a workaround?

rob4226 commented 3 years ago

I had to just take the switch out of the RadForm completely, and just use a plain switch underneath the form (separate, not part of the RadDataForm). Not a great solution but these plugins are closed source, so there's no way to fix them. It was a mistake to ever use these closed source nativescript-ui plugins. I wish they would just release them as open source and let the community fix and update them. Probably bc of some contract with Telerik. Such a shame... 😞

Someone from NativeScript needs to beg them to just finally open source them.

abdallahkadour commented 2 years ago

Any updates on this Issue?

rob4226 commented 2 years ago

Any updates on this Issue?

Don't think so. If you are using Angular I recommend using Angular Reactive Forms instead of the RadDataForm plugin. It's been working a lot better for me.

GabeRivera commented 2 years ago

I just wanted to add that this problem is still unresolved as of me posting this. I have a fresh ns8 angular project and the only thing i'm using outside of those core things is the raddataforms. This is unfortunately unusable given the very common need for a boolean input. Like @rob4226 said, its best to just use Angular Reactive Forms.