I have the error in my code. The error says like this: v.context.$implicit is undefined
The problem is, sometimes it error, and sometimes it doesn’t… Can somebody expla
i can't really help if i don't see you're TS code.
The same problem occured to me and my mistake was to try to insert a new data in an array like result[i] = data[i]
and not like result.push(data[i])
which is actually correct. Hope it helps !
Most of the time, context.$implicit
refer in the template to a variable created with a "let" (like "let time of item.info").
The rest of the error ("is undefined") is the classic javascript error message for trying to use a undefined value like an object.
In your case, it probably happen when the variable thisDay
is not one of the key of timeinfo
. checking the exact line of the error will probably help finding the error in the html.