Help on q-chat-message
-
Somehow
:text
in q-chat-message leads to the following error. Any help?texts
were fetched on mounted () via axios.<div v-for="item in texts" v-bind:key="item.index"> <q-chat-message name="cname" :avatar="avatar_person" :text="[item.sometext]" text-sanitize sent /> ...
Property or method "text" is not defined on the instance but referenc ed during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
-
This post is deleted! -
This shouldn’t be happening. Hard to tell what is wrong without all of the code in use.
Scott
-
Indeed. It should not happen. I finally traced back to another block of code where
text
was used. After fixing that, it is all good. Thanks.