nativescript-ui-feedback icon indicating copy to clipboard operation
nativescript-ui-feedback copied to clipboard

RadDataForm crashes iOS when using a Switch PropertyEditor (no error output)

Open rob4226 opened this issue 3 years ago • 7 comments

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.

rob4226 avatar Jan 10 '21 15:01 rob4226

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

aj80 avatar Mar 15 '21 20:03 aj80

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

bennysiu avatar Jun 02 '21 09:06 bennysiu

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

foxgreek avatar Aug 03 '21 14:08 foxgreek

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.

rob4226 avatar Aug 03 '21 20:08 rob4226

Any updates on this Issue?

abdallahkadour avatar Mar 07 '22 09:03 abdallahkadour

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.

rob4226 avatar Mar 10 '22 09:03 rob4226

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.

GabeRivera avatar Apr 13 '22 18:04 GabeRivera