update Input
This commit is contained in:
parent
dd037d90d3
commit
41918ed856
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div style="width: 100px;">
|
||||
<Input v-model="value1" size="large" placeholder="large size"></Input>
|
||||
<Input autocomplete="on" v-model="value1" size="large" placeholder="large size"></Input>
|
||||
<br>
|
||||
<Input v-model="value2" placeholder="default size"></Input>
|
||||
<br>
|
||||
|
|
|
@ -115,7 +115,9 @@
|
|||
default: false
|
||||
},
|
||||
autocomplete: {
|
||||
type: String,
|
||||
validator (value) {
|
||||
return oneOf(value, ['on', 'off']);
|
||||
},
|
||||
default: 'off'
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue