commit
fbf462b440
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
||||||
props: {
|
props: {
|
||||||
type: {
|
type: {
|
||||||
validator (value) {
|
validator (value) {
|
||||||
return oneOf(value, ['text', 'textarea', 'password', 'url', 'email', 'date']);
|
return oneOf(value, ['text', 'textarea', 'password', 'url', 'email', 'date', 'number']);
|
||||||
},
|
},
|
||||||
default: 'text'
|
default: 'text'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue