You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I write something like: <h3 class="userCard-userName">{{currentPerson.firstname}} {{currentPerson.lastname}}</h3>
I have a warning in console: WARN: can-stache/src/expression.js: Unable to find key or helper "currentPerson.imageUrl".
It doesn't break anything, but annoys a bit. Besides currentPerson is in viewModel, what exactly wrong with {{currentPerson}} notation, because I think I have the same warning in other places when show some info on the page.
The content would be something like:
This warning happens sometimes when you do not try to read it (imgUrl) in a stache Template but its set on a property of defineMap as property
Based on this, I think it would be useful if we added docs to canjs.com with common scenarios where this might happen and how to fix it, then include a link to those docs wherever this kind of warning appears.
The text was updated successfully, but these errors were encountered:
chasenlehara
changed the title
Proposal: create a FAQ Page on canjs.com
Add a docs link to the “Unable to find” warnings
Aug 29, 2017
@frank-dspeed commented on Mon Jul 24 2017
Based on this, I think it would be useful if we added docs to canjs.com with common scenarios where this might happen and how to fix it, then include a link to those docs wherever this kind of warning appears.
The text was updated successfully, but these errors were encountered: