chore: Add readonly attribute to woot-input component (#3119)

This commit is contained in:
Siddharth Ramesh 2021-09-30 22:07:20 +05:30 committed by GitHub
parent 1083a24a26
commit e6bcf24864
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {