parent
f2be585e5e
commit
6c145a0466
6 changed files with 15 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
<div :class="[prefixCls + '-group-prepend']" v-if="prepend" v-el:prepend><slot name="prepend"></slot></div>
|
||||
<i class="ivu-icon" :class="['ivu-icon-' + icon, prefixCls + '-icon']" v-if="icon" @click="handleIconClick"></i>
|
||||
<input
|
||||
type="text"
|
||||
:type="type"
|
||||
:class="inputClasses"
|
||||
:placeholder="placeholder"
|
||||
:disabled="disabled"
|
||||
|
@ -37,7 +37,7 @@
|
|||
props: {
|
||||
type: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['text', 'textarea']);
|
||||
return oneOf(value, ['text', 'textarea', 'password']);
|
||||
},
|
||||
default: 'text'
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue