mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-03-16 22:10:27 +00:00
quick fix. Added readonly property to common on mdInput
This commit is contained in:
parent
369f3f0e39
commit
c8a6445768
3 changed files with 4 additions and 2 deletions
|
|
@ -161,7 +161,7 @@
|
|||
<form novalidate @submit.stop.prevent="submit">
|
||||
<md-input-container>
|
||||
<label>Initial value</label>
|
||||
<md-input v-model="initialValue"></md-input>
|
||||
<md-input v-model="initialValue" readonly></md-input>
|
||||
</md-input-container>
|
||||
|
||||
<md-input-container>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ export default {
|
|||
required: Boolean,
|
||||
maxlength: [Number, String],
|
||||
name: String,
|
||||
placeholder: String
|
||||
placeholder: String,
|
||||
readonly: Boolean
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
:required="required"
|
||||
:placeholder="placeholder"
|
||||
:maxlength="maxlength"
|
||||
:readonly="readonly"
|
||||
@focus="onFocus"
|
||||
@blur="onBlur"
|
||||
@input="onInput"
|
||||
|
|
|
|||
Loading…
Reference in a new issue