1
0
mirror of synced 2025-01-19 17:01:43 +03:00

Adds support for the step attribute

This commit is contained in:
Justin Schroeder 2018-10-15 23:21:31 -04:00
parent 4297759781
commit 98734e3f74
3 changed files with 8 additions and 2 deletions

4
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -99,6 +99,7 @@ export default {
},
mounted () {
this.hydrate(this.mergedInitial)
// this.$emit('mounted', true)
},
methods: {
registerField (field, data) {

View File

@ -22,6 +22,7 @@
v-if="isTextInput"
@blur="errorBlurState = true"
:disabled="disabled"
:step="step"
>
<textarea
ref="textarea"
@ -199,6 +200,10 @@ export default {
type: [String, Number, Boolean],
default: () => false
},
step: {
type: [String, Number, Boolean],
default: () => false
},
options: {
type: [Object, Array],
default: () => []