Skip to content
Permalink
Browse files
Input: add missing readonly prop (#11967)
  • Loading branch information
jikkai authored and ziyoung committed Jul 12, 2018
1 parent f5a0a7e commit 5e32b4c7723d7a890097086eb1826e18a0b6f833
Showing 1 changed file with 3 additions and 0 deletions.
@@ -26,6 +26,7 @@
v-bind="$attrs"
:type="type"
:disabled="inputDisabled"
:readonly="readonly"
:autocomplete="autoComplete"
:value="currentValue"
ref="input"
@@ -85,6 +86,7 @@
ref="textarea"
v-bind="$attrs"
:disabled="inputDisabled"
:readonly="readonly"
:style="textareaStyle"
@focus="handleFocus"
@blur="handleBlur"
@@ -138,6 +140,7 @@
resize: String,
form: String,
disabled: Boolean,
readonly: Boolean,
type: {
type: String,
default: 'text'

0 comments on commit 5e32b4c

Please sign in to comment.