chore: Add readonly attribute to woot-input component (#3119)
This commit is contained in:
parent
1083a24a26
commit
e6bcf24864
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
:value="value"
|
||||
:type="type"
|
||||
:placeholder="placeholder"
|
||||
:readonly="readonly"
|
||||
@input="onChange"
|
||||
@blur="onBlur"
|
||||
/>
|
||||
|
@ -42,6 +43,10 @@ export default {
|
|||
type: String,
|
||||
default: '',
|
||||
},
|
||||
readonly: {
|
||||
type: Boolean,
|
||||
deafaut: false,
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onChange(e) {
|
||||
|
|
Loading…
Reference in a new issue