Closed HHN0609 closed 2 years ago
You need to use modelValue
or v-model
<Sketch v-model="color"/>
<Sketch modelValue="#FFFFFF"/>
You need to use
modelValue
orv-model
<Sketch v-model="color"/> <Sketch modelValue="#FFFFFF"/>
Thanks! I think it will be better if this component can combine with <input/>
tag.
My code looks like below: