Skip to content

Commit

Permalink
Input: add missing readonly prop (#11967)
Browse files Browse the repository at this point in the history
  • Loading branch information
jikkai authored and ziyoung committed Jul 12, 2018
1 parent f5a0a7e commit 5e32b4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/input/src/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
v-bind="$attrs"
:type="type"
:disabled="inputDisabled"
:readonly="readonly"
:autocomplete="autoComplete"
:value="currentValue"
ref="input"
Expand Down Expand Up @@ -85,6 +86,7 @@
ref="textarea"
v-bind="$attrs"
:disabled="inputDisabled"
:readonly="readonly"
:style="textareaStyle"
@focus="handleFocus"
@blur="handleBlur"
Expand Down Expand Up @@ -138,6 +140,7 @@
resize: String,
form: String,
disabled: Boolean,
readonly: Boolean,
type: {
type: String,
default: 'text'
Expand Down

0 comments on commit 5e32b4c

Please sign in to comment.