Skip to content

Commit 2521281

Browse files
committed
Add attributes to v-input, fix #22
1 parent b052ab3 commit 2521281

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/interface.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44
<span class="computed-value">{{ computedValue }}</span>
55
<span class="suffix">{{ suffix }}</span>
66
</div>
7-
<v-input v-else :model-value="value" @update:model-value="$emit('input', $event)" />
7+
<v-input
8+
v-else
9+
v-bind="$attrs"
10+
:field="field"
11+
:collection="collection"
12+
:primary-key="primaryKey"
13+
:model-value="value"
14+
@update:model-value="$emit('input', $event)"
15+
/>
816
<v-notice v-if="errorMsg" type="danger">{{ errorMsg }}</v-notice>
917
</template>
1018

0 commit comments

Comments
 (0)