Adds support for the step attribute
This commit is contained in:
parent
4297759781
commit
98734e3f74
4
dist/index.js
vendored
4
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -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) {
|
||||||
|
@ -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: () => []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user