Commit 5e32b4c7 authored by Jikkai Xiao's avatar Jikkai Xiao Committed by hetech

Input: add missing readonly prop (#11967)

parent f5a0a7e6
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment