1
0
mirror of synced 2025-01-31 23:01:39 +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 () { mounted () {
this.hydrate(this.mergedInitial) this.hydrate(this.mergedInitial)
// this.$emit('mounted', true)
}, },
methods: { methods: {
registerField (field, data) { registerField (field, data) {

View File

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