Modal with form causing Error


#1

Hi,
I have a modal with a simple form in it, 3 fields and a button.
It work very well on browser but it causes a weird error on device, Android 4.2.2.
The modal is not even showing up.

W/ContextImpl(  729): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1332 com.android.server.InputMethodManagerService$5.run:2397 java.lang.Thread.run:856 <bottom of call stack> <bottom of call stack> 
D/webview (26894): blockWebkitViewMessage= false
W/ContextImpl(  729): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1332 com.android.server.InputMethodManagerService$5.run:2397 java.lang.Thread.run:856 <bottom of call stack> <bottom of call stack> 
V/AlarmManager(  729): 

Thats the logcat output when I click on the button to show the modal.
Have anyone encountered something like this?


#2

That’s some crazy error info. There’s nothing Ionic specific about it. I can’t imagine what’s causing it.

Can you post your actual code sample? We’re going to have trouble testing without seeing where you’re starting from.


#3

I manage to fix it,
The problem was that I was referencing the wrong path on modal templateUrl.
That message was probably unrelated.

Thx :smile: