Skip to content

Commit d8b6cba

Browse files
authored
Update PlayGround.vue
1 parent de45977 commit d8b6cba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/.vuepress/components/PlayGround.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
<input
2323
v-if="updated"
2424
class="shadow-sm rounded-md text-base transition-all disabled:cursor-not-allowed disabled:border-gray-300 disabled:text-gray-300 focus:border-primary focus:ring focus:ring-offset-0 focus:ring-primary focus:ring-opacity-50"
25-
v-model="priceDirective"
25+
:value="priceDirective"
2626
v-number="config"
2727
type="text"
28-
@change="onChange"
28+
@change="({target})=>priceDirective=target.value"
2929
@input="onInput"
3030
@focus="onFocus"
3131
@blur="onBlur"

0 commit comments

Comments
 (0)