Skip to content

Commit f367cf6

Browse files
authored
Merge pull request #24 from rezo-labs/feature/add_attrs
Add attributes to v-input
2 parents a61c49f + 2521281 commit f367cf6

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 v-model="value" />
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)