mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-23 23:40:33 +03:00
Add startIndex prop validation
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -130,7 +130,10 @@
|
|||||||
*/
|
*/
|
||||||
startIndex: {
|
startIndex: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 0
|
default: 0,
|
||||||
|
validator: (value) => {
|
||||||
|
return value >= 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
Reference in New Issue
Block a user