Open rob4226 opened 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
i have same problem in iOS, is it any update for this issue? Thanks.
Still breaking in NS 8.0 - any ideas for a workaround?
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.
Any updates on this Issue?
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.
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.
When using a Switch type
PropertyEditor
(linked to a true/false boolean on the source object), anytime you tap theSwtich
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 aRadDataForm
and still go the same results so its not related to my individual project. Thank you.