We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e1af3 commit f2dce4fCopy full SHA for f2dce4f
src/components/input/Input.vue
@@ -26,6 +26,7 @@
26
<input
27
v-if="type !== 'textarea'"
28
class="vue-input__inner"
29
+ :name="name"
30
:type="type"
31
:value="value"
32
:placeholder="placeholder"
@@ -39,7 +40,12 @@
39
40
<textarea
41
v-else
42
class="vue-textarea__inner"
43
44
+ :type="type"
45
46
+ :disabled="disabled"
47
+ :readonly="readonly"
48
+ :value="value"
49
:rows="rows">
50
</textarea>
51
<div
@@ -202,6 +208,10 @@ export default {
202
208
height: auto;
203
209
line-height: 1.5;
204
210
resize: vertical;
211
+ &[disabled] {
212
+ cursor: no-drop;
213
+ background-color: $color-grey-light;
214
+ }
205
215
}
206
216
207
217
</style>
0 commit comments