Skip to content

Commit 8eae0e9

Browse files
committed
update html elements
1 parent 31c24f1 commit 8eae0e9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/fields/fieldNumber.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<template lang="jade">
2-
input.form-control(type="number", v-model="value", number, :min="schema.min", :max="schema.max", :readonly="schema.readonly", :disabled="disabled", :placeholder="schema.placeholder")
2+
input.form-control(type="number", v-model="value", number, :min="schema.min", :max="schema.max", :step="schema.step",
3+
:readonly="schema.readonly", :disabled="disabled", :placeholder="schema.placeholder")
34
</template>
45

56
<script>

src/fields/fieldText.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template lang="jade">
2-
input.form-control(type="text", v-model="value", :readonly="schema.readonly", :disabled="disabled", :placeholder="schema.placeholder")
2+
input.form-control(type="text", v-model="value", :maxlength="schema.max", :readonly="schema.readonly", :disabled="disabled", :placeholder="schema.placeholder")
33
</template>
44

55
<script>

0 commit comments

Comments
 (0)