0👍
First the quotation
property should be declared as an object like quotation: {}
, then at the first rendering the field company
is not available yet, so you need to add some conditional rendering as follows :
<div v-if="quotation.company" >
{{quotation.company.name}
</div>
- [Vuejs]-Render Input fields based on if field value of the field above/before Vue JS v-for/v-if
- [Vuejs]-How to render dynamic translations in NuxtI18n?
Source:stackexchange.com