Empty value in data attribute

parsing data values in my template

<input  name="title" type="text" placeholder="" value="{{title}}" data-value="{{title}}">

with an empty string

   title: ''

will results in

    <input type="text" placeholder="" name="title">
    <div contenteditable="plaintext-only">data-value=</div>

does anyone know any advice?

1 Like

data() {
Return {

SomeKey: ‘’,




Somevalue: ‘NEW vale etc’,


I know how to parse templates, thanks

the effect seems to concern every template var that is parsed with an empty value.

it kills the quote at the end of {{title}}"