I'm trying to display some html entities in a form text input, but v-model seems escaping them.
Is there something I need to write to make v-model displaying correctly html entities?
my sample code is
<el-input v-model="data" readonly="readonly"></el-input>
I know about v-html but I prefer keep using v-model due the automatic two-way binding.
UPDATE
Maybe I expressed myself wrong, I want to display the character, not the html entity, so instead 49.42₹ i need to display 49.42₹.
datacontain? This fiddle seems to handle HTML just fine in anel-input.v-html, if possible I would like to keepv-modelto not writing any method myself to do thisdatacontains a monetized value, i.e.: number followed by currency symbol expressed with html entity