RynGan
RynGan

Reputation: 19

How to inherit view inheritance

Template:

<div id="adult" class="content-tab">  
   <progress class="progress is-primary" value="{{parentData.rate_part}}" max="1">1%</progress>
</div>

Error:

error: value="{{parentData.rate_adult}}": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.

I want to put the inherited rate_part value into value.

Upvotes: 0

Views: 161

Answers (1)

David Japan
David Japan

Reputation: 242

You dont need {{ }} scope in element attribute. Use :value="parentData.rate_part" or v-model="parentData.rate_part" ..

Upvotes: 1

Related Questions