[Question] How to use v-model and custom tags?
Opened this issue · 0 comments
christhofer commented
<vue-at
:members="users"
:allow-spaces="false"
@at="getUsers"
v-model="html">
<div
class="form-control border-input"
style="height: 80px;"
contenteditable
/>
<span
slot="embeddedItem"
slot-scope="s">
<span>prefix{{ s.name }}suffix</span>
</span>
</vue-at>
Variable html still showing empty string no matter what I type. Am I putting v-model at the wrong location?
And I'm trying custom tags to add prefix and suffix, but it is also not working. I expect the output to be prefix@superadminsuffix.