[Vuejs]-Vue Js 3: Use Prop default value as Template String

0👍

Bind the HeaderTitle on the component, aswell as passing the legend prop.

<Fieldset
    :legend="whatever.title"
    :HeaderTitle="whatever.title" // if you still need it
    :toggleable="true"
    :collapsed="true"
    @click="initalMethod"
>

Leave a comment