Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

RROR TypeError: Cannot read property 'id' of undefined

$
0
0

Can somebody helps me?

I just trying creat a label that change your text when i change my select on ion-select. I used Ionic List template to creat this. The console on Visual Studio Code dont whos any error, but the console on Google Chrome shows this error:

core.js:4197 ERROR TypeError: Cannot read property ‘id’ of undefined
at LibertacaoPage.OnChange (libertacao.page.ts:33)
at LibertacaoPage_Template_ion_select_ionChange_8_listener (template.html:12)
at executeListenerWithErrorHandling (core.js:14316)
at wrapListenerIn_markDirtyAndPreventDefault (core.js:14357)
at HTMLElement. (platform-browser.js:582)
at ZoneDelegate.invokeTask (zone-evergreen.js:399)
at Object.onInvokeTask (core.js:27425)
at ZoneDelegate.invokeTask (zone-evergreen.js:398)
at Zone.runTask (zone-evergreen.js:167)
at ZoneTask.invokeTask [as invoke] (zone-evergreen.js:480)

How i resolve this? Thx.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>