Add onfocus/onblur to textarea.
This commit is contained in:
parent
ff782cbd11
commit
4d484f6040
|
@ -1,6 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<textarea
|
<textarea
|
||||||
@keyup.enter="addNote"
|
@keyup.enter="addNote"
|
||||||
|
onfocus="this.value=''"
|
||||||
|
onblur="this.value = 'Start typing something…'"
|
||||||
v-model="content"
|
v-model="content"
|
||||||
cols="30"
|
cols="30"
|
||||||
rows="10"
|
rows="10"
|
||||||
|
|
Loading…
Reference in New Issue