[Vuejs]-Pass v-model value from one component to template

0👍

You need to bind your prop value like below

<app-input id="MF" name="TYPE_U32" :labelName="test" :val="Text"></app-input>

If your prop value is not data ( just string ) , use single squote

<app-input id="MF" name="TYPE_U32" :labelName="'test'" :val="'Text'"></app-input>

Leave a comment