ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Android: Popover RangeError: Maximum call stack size exceeded

Open chack opened this issue 10 years ago • 3 comments

Short description of the problem:

On a Popover in Android (Genymotion Emulator) when I use a Radio Group with an imported Model I get following error: RangeError: Maximum call stack size exceeded

In IOS everything works fine...

CODE:

<ion-list radio-group [(ngModel)]="suchService.sort" class="popover-page">
      <ion-item>
        <ion-label>Entfernung aufsteigend</ion-label>
        <ion-radio (click)="sortchange()"value=""></ion-radio>
      </ion-item>
      <ion-item>
        <ion-label>Neueste zuerst</ion-label>
        <ion-radio (click)="sortchange()"value="9"></ion-radio>
      </ion-item>
</ion-list>

....

sortchange(){
      this.viewController.dismiss()

  }

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc) ERROR:

bildschirmfoto 2016-08-13 um 16 12 44

Which Ionic Version? 1.x or 2.x

2.0 Beta 11

Plunker that shows an example of your issue

For Ionic 2 issues - http://plnkr.co/edit/me3Uk0GKWVRhZWU0usad?p=preview

Run ionic info from terminal/cmd prompt: (paste output below)

Cordova CLI: 6.2.0 Ionic Framework Version: 2.0.0-beta.11 Ionic CLI Version: 2.0.0-beta.36 Ionic App Lib Version: 2.0.0-beta.19 ios-deploy version: 1.8.6 ios-sim version: 5.0.8 OS: Mac OS X El Capitan Node Version: v4.4.7 Xcode version: Xcode 7.3.1 Build version 7D1014

chack avatar Aug 13 '16 14:08 chack

I just saw following: Android Emulator: bildschirmfoto 2016-08-13 um 16 21 02

Webseite Emulator: bildschirmfoto 2016-08-13 um 16 21 10

It seems as the List isn't binding to the model?

chack avatar Aug 13 '16 14:08 chack

An empty Template results in: bildschirmfoto 2016-08-13 um 17 09 09

I don't use this Class? Where does it come from?

chack avatar Aug 13 '16 15:08 chack

Hello! Thanks for opening an issue with us! I am going to be closing this issue as a duplicate of https://github.com/driftyco/ionic/issues/6918. Thanks for using Ionic!

jgw96 avatar Aug 14 '16 05:08 jgw96