Answer the question
In order to leave comments, you need to log in
How to properly execute code inside Vue template?
Greetings!
Here is an example code:
<div v-else-if="column.type == 'badge'" :key="value">
<v-chip
small
:style="{
'border': '1px solid',
'border-color':join('status', 'id', props.value).edge_color||false,
'background': join('status', 'id', props.value).badge_color||'#fff',
'color': join('status', 'id', props.value).text_color||false
}"
>{{join('status', 'id', props.value).title||props.value}}</v-chip>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question