Skip to content

Commit 55ff8f5

Browse files
author
Dipak Sarkar
committed
updated example with qfield
1 parent 6b699c0 commit 55ff8f5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/.vuepress/components/Example.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,16 @@
2929
:dark="false"
3030
dense
3131
outlined
32+
v-model="reverseFill"
3233
>
33-
<template v-slot:control>
34+
<template v-slot:control="{ id, floatingLabel, value, emitValue }">
3435
<number
36+
:id="id"
3537
class="q-field__input"
36-
v-model="reverseFill"
38+
:value="value"
39+
@input="emitValue"
3740
v-bind="configReverseFill"
41+
v-show="floatingLabel"
3842
/>
3943
</template>
4044
</q-field>

0 commit comments

Comments
 (0)